class ReceiveChannelHandler<T> : ReceiveChannel<T>, Handler<T>
An adapter that converts a stream of events from the Handler into a ReceiveChannel which allows the events to be received synchronously.
ReceiveChannelHandler(vertx: Vertx)ReceiveChannelHandler(context: Context)
An adapter that converts a stream of events from the Handler into a ReceiveChannel which allows the events to be received synchronously. |
val isClosedForReceive: Boolean |
|
val isEmpty: Boolean |
|
val onReceive: SelectClause1<T> |
|
val onReceiveOrNull: SelectClause1<T?> |
fun cancel(cause: Throwable?): Boolean |
|
fun handle(event: T): Unit |
|
fun iterator(): ChannelIterator<T> |
|
fun poll(): T? |
|
suspend fun receive(): T |
|
suspend fun receiveOrNull(): T? |