Skip to content

Missing Stage types #139

@akarnokd

Description

@akarnokd

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions