![](/img/trans.png)
[英]Iterate over items from a Recator Flux in another Reactor Flux
[英]How to iterate over items from a Flux?
我需要遍歷Flux並從某個索引的先前位置和后位置獲取對象。 這可能嗎? 我該如何實施?
嘗試類似:
yourFlux.collectList().flatMap(x -> { //here you can, for example, x.get(0); });
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.