@ExperimentalCoroutinesApi fun <T> Deferred<T?>.asMono(
    context: CoroutineContext
): Mono<T>

Converts this deferred value to the hot reactive mono that signals success or error.

Every subscriber gets the same completion value. Unsubscribing from the resulting mono does not affect the original deferred value in any way.

Note: This is an experimental api. Conversion of coroutines primitives to reactive entities may change in the future to account for the concept of structured concurrency.


context - – the coroutine context from which the resulting mono is going to be signalled