Web / RxJs Interview questions
Types of observables.
There are 2 types of observables: hot and cold. The main difference is that a cold observable creates a data producer for each subscriber, whereas a hot observable creates a data producer first, and each subscriber gets the data from one producer, starting from the moment of subscription.
A cold observable starts producing data when some code invokes a subscribe() function on it.
A hot observable produces data even if no subscribers are interested in the data.
More Related questions...