sendResult

inline fun <T> sendResult(result: T)

Sends a result into the channel associated with the given resultKey.

Parameters

result

the result to send.

Type Parameters

T

the type of the result.


fun <T> sendResult(resultKey: String, result: T)

Sends a result into the channel associated with the given resultKey.

Parameters

resultKey

the key for the result that is being sent.

result

the result to send.