fun <T> Deferred<T>.asFuture(): Future<T>
Converts this deferred value to the instance of Future. The deferred value is cancelled when the resulting future is cancelled or otherwise completed.