concurrent / 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 - The action to execute before completing the returned completion.

Return
A completion.