DiscoverThe Angular ShowE052 - RxJS Operators Ep. 4: Multicasting, Error Handling, & Utility Operators
E052 - RxJS Operators Ep. 4: Multicasting, Error Handling, & Utility Operators

E052 - RxJS Operators Ep. 4: Multicasting, Error Handling, & Utility Operators

Update: 2021-03-23
Share

Description

In the final part of our series on RxJS operators we welcome Zack DeRose, senior engineer at Nrwl, back to the show to learn about multicasting, error handling and utility operators. To kick things off we do a quick recap of hot vs cold Observables, unicast vs multicast, and then the Subject class as well as a few of its child-classes.

You might be wondering, "What is a multicasted Observable; Why would I want that; and what is the implication for my application?" In short, the multicast operators provide the functionality to create a multicasted Observable (duh! and huh?). The complexity and confusion usually arise around what operators to choose from. Why would I choose publish() over shareReplay()? And, what about ref counting? Don't worry - panelists Aaron Frost, Brian Love, and Jennifer Wadella, along with our esteemed guest Zack, answer these very questions.

We then go into detail on error handling in RxJS and the various operators for error handling, from catchError() to throwError(), and everything in between. Finally, we talk through various utility operators such as tap() and delay().

While you don't need to have listened to the first 3 episodes on RxJS operators in this series to enjoy this episode, we do recommend you check them out if you haven't already. Be sure to subscribe so you don't miss a single episode of the Angular Show!

Show Notes:
WTF is a cold observable: https://www.youtube.com/watch?v=4btjdWHM6lI&ab_channel=AngularSeattle
DeRose Hpothesis on Code Complexity: https://www.youtube.com/watch?v=H9EZZDREMEk&t=779s&ab_channel=AngularSeattle
zackderose.dev
Multicasting: https://dev.to/bitovi/understanding-multicasting-observables-in-angular-2371

Connect with us:
Brian F Love - @brian_love
Aaron Frost - @aaronfrost
Jennifer Wadella - @likeOMGitsFEDAY
Zack DeRose - @zackderose
Comments 
loading
00:00
00:00
x

0.5x

0.8x

1.0x

1.25x

1.5x

2.0x

3.0x

Sleep Timer

Off

End of Episode

5 Minutes

10 Minutes

15 Minutes

30 Minutes

45 Minutes

60 Minutes

120 Minutes

E052 - RxJS Operators Ep. 4: Multicasting, Error Handling, & Utility Operators

E052 - RxJS Operators Ep. 4: Multicasting, Error Handling, & Utility Operators

ng-conf