akarnokd / akarnokd/RxJavaExtensions

Add indexed transform operator to ParallelFlowable

Aperta
#74 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
feature request
Lingua principale
Java
Stelle
680
Fork
50
Merge medio
16m
PR unite (30g)
9

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.