tuweni / org.apache.tuweni.concurrent / AsyncCompletion / thenScheduleRun

thenScheduleRun

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

Returns a new completion that, when this completion 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.