toChannel
fun <T> WriteStream<T>.toChannel(vertx: Vertx, capacity: Int = 256): SendChannel<T>
fun <T> WriteStream<T>.toChannel(context: Context, capacity: Int = 256): SendChannel<T>
Adapts the current write stream to Kotlin SendChannel.