Reactor Flux to Mono>

前端 未结 1 1301
天涯浪人
天涯浪人 2021-01-15 11:45

How can I convert Flux directly to Mono> ?

I am looking for equivalent of Single

1条回答
  •  既然无缘
    2021-01-15 12:18

    Flux has the method collectList() doing just the same like toList() in Rx.

    val just: Mono> = flux.collectList()
    

    0 讨论(0)
提交回复
热议问题