tuweni / org.apache.tuweni.concurrent / AsyncResult / thenScheduleRun

thenScheduleRun

abstract fun thenScheduleRun(vertx: Vertx!, runnable: Runnable!): AsyncCompletion! (source)

Returns a new completion that, when this result completes normally, completes after the given action is executed on the vertx context.

Parameters

vertx - Vertx!: The vertx context.

runnable - Runnable!: The action to execute on the vertx context before completing the returned completion.

Return
AsyncCompletion!: A completion.