fun AsyncCompletion.asDeferred(): Deferred<Unit>
Converts this AsyncCompletion to an instance of Deferred. The AsyncCompletion is cancelled when the resulting deferred is cancelled.