// the source has finished sending messages. void OnCompleted(); // Notifies the observer about any // exception or error. void OnError(Exception error); // Pushes the next data value from // the source to the observer. void OnNext(T value); } 45
// the source has finished sending messages. void OnCompleted(); // Notifies the observer about any // exception or error. void OnError(Exception error); // Pushes the next data value from // the source to the observer. void OnNext(T value); } 46
// the source has finished sending messages. void OnCompleted(); // Notifies the observer about any // exception or error. void OnError(Exception error); // Pushes the next data value from // the source to the observer. void OnNext(T value); } 47
// the source has finished sending messages. void OnCompleted(); // Notifies the observer about any // exception or error. void OnError(Exception error); // Pushes the next data value from // the source to the observer. void OnNext(T value); } 48
void onNext(T t); public void onError(Throwable t); public void onComplete(); } public interface Subscriber<T> { public void onSubscribe(Subscription s); public void onNext(T t); public void onError(Throwable t); public void onComplete(); }