fun <T> Deferred<T>.asAsyncResult(): AsyncResult<T>
Converts this deferred value to an AsyncResult. The deferred value is cancelled when the returned AsyncResult is cancelled or otherwise completed.