使用Mono.flatMapMany()方法:
Flux flux1 = mono.map(A::getList1).flatMapMany(Flux::fromIterable); Flux flux2 = mono.map(A::getList2).flatMapMany(Flux::fromIterable);
欢迎分享,转载请注明来源:内存溢出
使用Mono.flatMapMany()方法:
Flux flux1 = mono.map(A::getList1).flatMapMany(Flux::fromIterable); Flux flux2 = mono.map(A::getList2).flatMapMany(Flux::fromIterable);
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)