Looks like some of the ReactiveStreamsFactory based sources do not have a Stage equivalent:
empty -> could be mimicked with Stage.Of returning an empty collection, but less efficient
of(T) -> could be mimicked with Stage.Of returning an empty collection, but less efficient
of(T...) -> could be mimicked with Stage.Of returning an empty collection, but less efficient
iterate -> could be mimicked with Stage.Of, but less efficient
generate -> could be mimicked with Stage.Of, but less efficient
forEach
ignore -> there is a Stage.Cancel though
reduce(T, BinaryOperator) -> there is FindFirst though
reduce(BinaryOperator)
collect(Supplier, BiConsumer) -> there is Collect with java.util.stream.Collector though
toList -> could be mimicked via Collect, but it is inefficient in
to(SubscriberBuilder) -> is this Stage.SubscriberStage too, ignoring the CompletionStage?
via(ProcessorBuilder) -> is this Stage.ProcessorStage too?
Looks like some of the
ReactiveStreamsFactorybased sources do not have aStageequivalent:empty-> could be mimicked withStage.Ofreturning an empty collection, but less efficientof(T)-> could be mimicked withStage.Ofreturning an empty collection, but less efficientof(T...)-> could be mimicked withStage.Ofreturning an empty collection, but less efficientiterate-> could be mimicked withStage.Of, but less efficientgenerate-> could be mimicked withStage.Of, but less efficientforEachignore-> there is aStage.Cancelthoughreduce(T, BinaryOperator)-> there isFindFirstthoughreduce(BinaryOperator)collect(Supplier, BiConsumer)-> there isCollectwithjava.util.stream.CollectorthoughtoList-> could be mimicked viaCollect, but it is inefficient into(SubscriberBuilder)-> is thisStage.SubscriberStagetoo, ignoring theCompletionStage?via(ProcessorBuilder)-> is thisStage.ProcessorStagetoo?