I am trying to concatenate two publishers, but I know that this can be empty and I want result be empty too.
fun Flux<String>.prefixWith(rhs: Mono<String>) = rhs
.flux()
.concatWith(this)
That just returns rhs as expected. How to return empty Flux if this is empty?