我有一个实体列表input = window.prompt()
if(input.includes("stop working")){
console.log("not working")
} else {
console.log("working")
}
,例如
List<Entity1>
我需要遍历此列表,应用我的函数,并根据每个Entity1获得public class Entity1 {
private int id;
....
}
。因此,我将有一个Mono<Entity2>
。
然后我需要将第二个列表合并到List<Mono<Entity2>>
我不知道我可以通过哪种方式先获得Mono<List<Entity2>>
然后再获得List<Mono<Entity2>>
。