Module id.xfunction

Class DelegateSubscriber<T>

Object
DelegateSubscriber<T>
All Implemented Interfaces:
Flow.Subscriber<T>

public class DelegateSubscriber<T> extends Object implements Flow.Subscriber<T>
Subscriber which wraps original subscriber and delegates all calls to it.

It allows to override behavior of the original subscriber without redefining all methods of it but only those which are of the interest.