Extensions for kotlinx.coroutines.experimental.Deferred
fun <T> Deferred<T>.asListenableFuture(): ListenableFuture<T>Converts this deferred value to the instance of ListenableFuture. The deferred value is cancelled when the resulting future is cancelled or otherwise completed. |