Optional
[observable]Returns itself.
Optional
@@observableReturns itself. This is used as a fallback for environments which don't support Symbol.observable
.
Subscribes the given observer to this object.
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
onError: (error: Error) => voidReceives the sequence error.
Optional
onComplete: () => voidReceives a completion notification.
Object which can be used to unsubscribe the observer.
The base interface for observable objects.