Extensions for kotlinx.coroutines.experimental.Deferred
fun <T> Deferred<T?>.asMaybe( Converts this deferred value to the hot reactive maybe that signals onComplete, onSuccess or onError. |
|
fun <T> Deferred<T>.asSingle( Converts this deferred value to the hot reactive single that signals either onSuccess or onError. |