I have a Mono A. The Object A contains two lists. I want to create direct two Flux. Is this possible without block()?
Mono a = ... ; Flux
Use Mono.flatMapMany() method:
Flux flux1 = mono.map(A::getList1).flatMapMany(Flux::fromIterable); Flux flux2 = mono.map(A::getList2).flatMapMany(Flux::fromIterable);