switchIfEmpty

fun <T> Mono<T>.switchIfEmpty(s: () -> Mono<T>): Mono<T>

Extension for Mono.switchIfEmpty accepting a function providing a Mono. This allows having a deferred execution with the switchIfEmpty operator

Author

Kevin Davin

Since

3.2