tuweni / org.apache.tuweni.concurrent / AsyncCompletion / thenRun

thenRun

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

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

Parameters

runnable - Runnable!: Te action to perform before completing the returned AsyncCompletion.

Return
AsyncCompletion!: A completion.