UNPKG

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) 154 B
import { takeUntilDestroy } from './take-until-destroy'; import { Destroyable } from './destroyable.decorator'; export { takeUntilDestroy, Destroyable };