vertx / io.vertx.kotlin.core / io.vertx.core.Future / setHandlerAwait

setHandlerAwait

suspend fun <T> Future<T>.setHandlerAwait(): T

Set a handler for the result.

Parameters

handler - the Handler that will be called with the result

Returna
reference to this, so it can be used fluently *