with observable streams Observable streams (i.e. streams that can be observed) in the context of Reactive Extensions are like event emitters that emit 3 events: next, error, and complete.
of values is added to an observable sequence • .error(error: Error) — If an Error is encountered, a sequence will emit an error event. This will also terminate the sequence. • .completed — If a sequence ends normally it sends a completed event to its subscribers
all the events that will happen after you subscribed. • BehaviourSubject — A behavior subject will give any subscriber the most recent element and everything that is emitted • ReplaySubject — you can define how many recent items you want to emit to new subscribers
thread that they are subscribed on. • We can force them on different threads with subscribeOn and observeOn. • It uses operation-ques and dispatch-queues under the hood.