fun <T> Flux<T>.switchIfEmpty(s: () -> Publisher<T>): Flux<T>
Extension for Flux.switchIfEmpty accepting a function providing a Publisher. This allows having a deferred execution with the switchIfEmpty operator
Author
Kevin Davin
Since
3.2
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