Interface for subscribable objects.
Subscribes the given observer to this object.
The observer to subscribe.
Object which can be used to unsubscribe the observer.
Constructs a new observer using the given callback functions and subscribes it to this object.
Receives the next value in the sequence.
Optional
Receives the sequence error.
Receives a completion notification.
Interface for subscribable objects.