vertx / io.vertx.rxjava.core / Future / future

future

open static fun <T : Any> future(handler: Handler<Future<T>>): Future<T>

Create a future that hasn't completed yet and that is passed to the handler before it is returned.

Parameters

handler - the handler

Return
the future.

open static fun <T : Any> future(): Future<T>

Create a future that hasn't completed yet

Return
the future