Question - What do you understand by RxJS Stream?
Answer -
An RxJS stream is a sequence of ongoing events ordered in time. In other words we can say that a stream is a sequence of data elements made available over time. A stream can be thought of as items on a conveyor belt being processed one at a time rather than in large batches. It is called stream because it acts as a data that is continuous and not really having an end, unless you explicitly define an end.
A stream can emit three different things:
- a value (of some type)
- an error
- a "completed" signal