Share the Same Broadcaster Values Across Multiple Listeners

InstructorJohn Lindquist

Share this video with your friends

Send Tweet

To build out our word game, we will have to be able to share the word across a few places. This means we have to set up a broadcaster that will push the same values to multiple listeners instead of different values each time a listener is added. We will do this by creating a share operator that can capture the broadcaster and track all of the listeners so that we can hook them together and customize how values get pushed down into the listener callbacks.