send

fun <T> send(to: SendChannel<T>, valueProvider: suspend SuspendCallDefinitionScope<T>.(CallArgs) -> T): Awaitable<Unit>

Suspends until a value provided on each call by the valueProvider is sent to the channel.