tuweni / org.apache.tuweni.concurrent / AsyncResult / thenRun

thenRun

abstract fun thenRun(runnable: Runnable!): AsyncCompletion! (source)

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

Parameters

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

Return
AsyncCompletion!: A completion.