It can be confusing to know which operators in RxJS must be unsubscribed from to prevent subscription leaks. Some, like forkJoin, complete automatically, while others, such as combineLatest, never complete. Is there a comprehensive list or guideline available to determine which operators require manual unsubscription? The documentation doesn't seem to provide clear guidance.
As a relative newcomer to RxJS, I may be misunderstanding some concepts. Please correct me if needed.
For clarity, I am aware of using | async
, but it's not feasible for my current project. I'm also utilizing takeUntil
instead of direct unsubscribe
calls. My query is specifically about identifying when to use takeUntil
/unsubscribe
after employing RxJS operators.