Difference between Cold observable and Replay subject?

Viewed 7127

I can see from the docs that:

Cold Observables emit the entire sequence of values from the start to every Observer.

and

ReplaySubject emits to any observer all of the items that were emitted by the source Observable(s), regardless of when the observer subscribes.

So what is the difference between these two concepts?

Thanks

2 Answers
Related