Extensions for kotlinx.coroutines.experimental.Deferred

asSingle

fun <T> Deferred<T>.asSingle(
    context: CoroutineContext
): Single<T>

Converts this deferred value to the hot reactive single that signals either onSuccess or onError.