Exercise - Publish Operator

Multicasting Operators

Exercise

The goal of this exercise is to use the shorthand publish() operator in place of the multicast() operator.

  1. Open exercise on codesandbox. I've already imported the necessary rxjs functions and classes for you, and scaffolded out the bulk the of code. After all, the goal here is for you to practice and retain knowledge, not to improve your typing skills. 😁
  2. Use the publish() and refCount() operators to create a multicasted Observable that is reference counted.

Exercise - Publish Operator

Multicasting Operators

Exercise

The goal of this exercise is to use the shorthand publish() operator in place of the multicast() operator.

  1. Open exercise on codesandbox. I've already imported the necessary rxjs functions and classes for you, and scaffolded out the bulk the of code. After all, the goal here is for you to practice and retain knowledge, not to improve your typing skills. 😁
  2. Use the publish() and refCount() operators to create a multicasted Observable that is reference counted.

Copyright

Site © by LiveLoveApp, LLC

We Can Help!

Need help with RxJS in your project?

Hire Us