Skip to content

Add process() method to Publisher. #124

Closed
@ldaley

Description

@ldaley

It seems that Processor would be a lot more useful if it supported chaining. This could be done by adding the following to Publisher:

interface Publisher<T> {  
  <R> process(Processor<? super T, ? extends R> processor);
}

It would be boilerplate for implementors to support, but I don't think that's a problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions