asMono

fun <T> Deferred<T?>.asMono(
    context: CoroutineContext = DefaultDispatcher
): 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.

Parameters

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