The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

ReplaySubject: remembering events from the past

ReplaySubject: remembering events from the past

5:41
A BehaviorSubject can remember the latest value emitted, but what if we wanted Observer B to see all the previous values emitted in the past? We can't do that with BehaviorSubject, but there is ReplaySubject, which allows us to do that. This lessons teaches you everything you need to know about ReplaySubjects.
Watch this lesson now
Avatar
egghead.io

A BehaviorSubject can remember the latest value emitted, but what if we wanted Observer B to see all the previous values emitted in the past? We can't do that with BehaviorSubject, but there is ReplaySubject, which allows us to do that. This lessons teaches you everything you need to know about ReplaySubjects.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?