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

asAsyncCompletion

fun Job.asAsyncCompletion(): AsyncCompletion (source)

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