Converts this job to a AsyncCompletion. The job is cancelled when the returned AsyncCompletion is cancelled or otherwise completed.
fun Job.asAsyncCompletion(): AsyncCompletion