我有一个
list.stream()
.map(element -> func());其中func()返回Mono。将此Mono<CustomObject>对象列表转换为Flux<CustomObject>并从流中返回它的最简单方法是什么?
发布于 2019-11-21 23:56:24
List<Mono<CustomObject >> monoList = new ArrayList<>();
monoList(object);
Flux<CustomObject> flux = Flux.concat(monoList);https://stackoverflow.com/questions/58978064
复制相似问题