abstract fun <U : Any!> thenSupply(supplier: Supplier<out U>!): AsyncResult<U>! (source)
Returns a completion that, when this result completes normally, completes with the value obtained after executing the supplied function.
supplier - Supplier<out U>!: The function to use to compute the value of the returned result.
Return
AsyncResult<U>!: A new result.
abstract fun <U : Any!> thenSupply(vertx: Vertx!, supplier: Supplier<out U>!): AsyncResult<U>! (source)
Returns a completion that, when this result completes normally, completes with the value obtained after executing the supplied function on the vertx context.
vertx - Vertx!: The vertx context.
supplier - Supplier<out U>!: The function to use to compute the value of the returned result.
Return
AsyncResult<U>!: A new result.