add

inline fun <T : Any> add(argument: T)

Adds an argument with the default serializer for its type to the function call.

Parameters

T

argument type.

argument

value.


inline fun <T : Any> add(argument: T, serializer: KSerializer<T>)

Adds an argument with a user defined serializer to the function call.

Parameters

T

argument type.

argument

value.

serializer

argument serializer.