Question: what is the difference between promise and subscribe?
Answer: The subscriber function is called by the system whenever a new subscriber subscribes to the observable. ... This is an important difference to promises, where after calling resolve the executor function is terminated. Promises can emit at most one value, whereas observables can emit any number of values.