toMonoOrEmpty

fun <T : Any> T?.toMonoOrEmpty(): Mono<T>

Extension to convert a nullable type of T to a Mono that emits the supplied element when present, or complete if null.

Sources

jvm source
Link copied to clipboard