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

Using a Subject as an Event Bus

Using a Subject as an Event Bus

3:57
Every Subject is an Observer, meaning we can freely use the Observer methods next(), error(), complete() to manually send events to the Subject. This lesson will teach you how to use a Subject as an Event Bus through the Observer methods.
Watch this lesson now
Avatar
egghead.io

Every Subject is an Observer, meaning we can freely use the Observer methods next(), error(), complete() to manually send events to the Subject. This lesson will teach you how to use a Subject as an Event Bus through the Observer methods.

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