Class MultiCoupledProcessor<T,​R>

  • Type Parameters:
    T - Inlet and passed in subscriber item type
    R - Outlet and passed in publisher item type
    All Implemented Interfaces:
    Multi<R>, Subscribable<R>, Flow.Processor<T,​R>, Flow.Publisher<R>, Flow.Subscriber<T>

    public class MultiCoupledProcessor<T,​R>
    extends Object
    implements Flow.Processor<T,​R>, Multi<R>
    Coupled processor sends items received to the passed in subscriber, and emits items received from the passed in publisher.
    
         +
         |  Inlet/upstream publisher
     +-------+
     |   |   |   passed in subscriber
     |   +-------------------------->
     |       |   passed in publisher
     |   +--------------------------+
     |   |   |
     +-------+
         |  Outlet/downstream subscriber
         v