take-until-destroy
Version:
A simple way to unsubscribe from an RxJs stream in Angular (2+) when the component is destroyed
4 lines (3 loc) • 69 B
TypeScript
A simple way to unsubscribe from an RxJs stream in Angular (2+) when the component is destroyed