tuweni / org.apache.tuweni.concurrent.coroutines / kotlinx.coroutines.Deferred / asAsyncCompletion

asAsyncCompletion

fun Deferred<Unit>.asAsyncCompletion(): AsyncCompletion (source)

Converts this deferred value to a AsyncCompletion. The deferred value is cancelled when the returned AsyncCompletion is cancelled or otherwise completed.