toFlux
fun <T : Any> Publisher<T>.toFlux(): Flux<T>
Extension to convert any Publisher of T to a Flux.
toMono
fun <T> Publisher<T>.toMono(): Mono<T>
Extension to convert any Publisher of T to a Mono that only emits its first element.