OnCancelSubscriber(Flow.Subscriber<T> subscriber, Consumer<Subscription> onCancel) { this.delegate = ReactiveStreamsAdapter.subscriberFromFlow(subscriber); this.onCancel = onCancel; }
OnCancelSubscriber(Flow.Subscriber<T> subscriber, Consumer<Subscription> onCancel) { this.delegate = ReactiveStreamsAdapter.subscriberFromFlow(subscriber); this.onCancel = onCancel; }