akarnokd / akarnokd/RxJavaExtensions

Add indexed transform operator to ParallelFlowable

未關閉
#74 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
feature request
主要語言
Java
星號
680
分支
50
平均合併
16 分鐘
30 天內合併 PR
9

描述

Signature:

```java
ParallelTransformer transformRail(BiFunction, Integer, Publisher mapper)
```

Given the parallelism of the `ParallelFlowable`, the function will be called for each rail indexed 0..n-1 to provide a mapping for that particular rail.

Considerations:
- The input `Flowable`s will be single-subscriber only.
- The implementation should not buffer but has to be careful when relaying signals because:
- the returned `Publisher` may not be connected to the input `Flowable` for a time or at all.
- the input `Flowable` may terminate before the downstream gets to subscribing to it.

See also https://github.com/akarnokd/RxJavaMicroprofileRS/blob/master/src/main/java/hu/akarnokd/rxjava3/mprs/DeferredProcessor.java

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。