Class MappingProcessor<SOURCE,​TARGET>

  • Type Parameters:
    SOURCE - type of the publisher we subscribe to
    TARGET - type of the publisher we expose
    All Implemented Interfaces:
    Flow.Processor<SOURCE,​TARGET>, Flow.Publisher<TARGET>, Flow.Subscriber<SOURCE>

    public final class MappingProcessor<SOURCE,​TARGET>
    extends Object
    implements Flow.Processor<SOURCE,​TARGET>
    A Flow.Processor that only maps the source type to target type using a mapping function.