abstract fun <U : Any> thenSchedule(vertx: Vertx, fn: Supplier<out AsyncResult<U>>): AsyncResult<U>
(source)
Returns a new result that, when this completion completes normally, completes with the same value or exception as the completion returned after executing the given function on the vertx context.
fn
- The function returning a new result.
- The type of the returned result's value.
Return
A new result.