vertx / io.vertx.kotlin.coroutines / kotlinx.coroutines.experimental.Deferred / asFuture

asFuture

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.