Observables are a pioneering concept in Reactive Programming. Observables are data source wrappers and then the observer executes some instructions when there is a new value or a change in data values. The Observable is connected to the observer who does the execution through subscription, with a subscribe method the observer connects to the observable to execute a code block.
If you do not know what is Reactive Programming, then check out my article on this website What is ReactiveProgramming in Javascript.
We will see following topics in this article.
Observables are simply data streams or collections which arrive at a time. Observables are objects that can notify subscribers when the change is happening. We can wrap Observables as an object which contains the following things.
#observables #javascript #reactive programming