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

Extensions for kotlinx.coroutines.Job

asAsyncCompletion

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

fun Job.asAsyncCompletion(): AsyncCompletion