A thing that subscribes to an Observer. This is conceptually tied to
the event handlers you pass to the subscribe method of
an Observable, but this is typically an internal type that the observable
library creates from those functions. Since the event handlers are all optional
in Observerable::subscribe, the library will fill in suitable noop handlers
on the ObservableSubscriber before passing it to the subscriber-func, so you
don't have to worry about checking to see if they're present or not.
A thing that subscribes to an Observer. This is conceptually tied to the event handlers you pass to the
subscribe
method of anObservable
, but this is typically an internal type that the observable library creates from those functions. Since the event handlers are all optional inObserverable::subscribe
, the library will fill in suitable noop handlers on the ObservableSubscriber before passing it to the subscriber-func, so you don't have to worry about checking to see if they're present or not.