Last active
February 10, 2023 14:32
Revisions
-
codenickycode revised this gist
Feb 10, 2023 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ From [Reactive Patterns for RxJS with Angular](https://www.amazon.com/gp/product/1801811512/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1) Chapter 7: Transforming Streams |Operator|Use Case| |---|---| -
codenickycode created this gist
Feb 10, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ From [Reactive Patterns for RxJS with Angular](https://www.amazon.com/gp/product/1801811512/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1) Chapter 6: Combining Streams |Operator|Use Case| |---|---| |`concatMap`|If the order is important and you need to process operations in sequence while waiting for completion.| |`mergeMap`|If the order is not important and you need to process operations in parallel to enhance performance.| |`switchMap`|If you need to put a cancellation logic to release resources and take always the most recent information.| |`exhaustMap`|To ignore new observables while the current one is still ongoing.|