How to turn a Mono<List<T>> into a List<Mono<T>>?
I'm trying to build a function that turns a Mono of a List into a List of Monos
The function would for instance receive a Mono and return a List.
To be clearer, the function I'm looking for should look something like this:
fun process(list:Mono):List {...}
I'm using Kotlin here but could be Java
I've tried several things not worth listing but here's my best attempt which is not working (and I have no idea why)
fun process( monoListOfAny : Mono) : List
= monoListOfAny.flatMap {...