Class FlowTestSubscriber<T>

  • Type Parameters:
    T - the input value type
    All Implemented Interfaces:
    FlowableSubscriber<T>, java.util.concurrent.Flow.Subscriber<T>, Subscriber<T>, Subscription

    public class FlowTestSubscriber<T>
    extends TestSubscriber<T>
    implements java.util.concurrent.Flow.Subscriber<T>
    A TestSubscriber also extending the Flow.Subscriber interface for testing Flow.Publishers.
    Since:
    0.1.0
    • Constructor Detail

      • FlowTestSubscriber

        public FlowTestSubscriber()
    • Method Detail

      • onSubscribe

        public final void onSubscribe​(java.util.concurrent.Flow.Subscription subscription)
        Specified by:
        onSubscribe in interface java.util.concurrent.Flow.Subscriber<T>