@mikelgo/ngx-stream-keeper
v13.0.2
Published
You don't longer need to worry about handling subscriptions - stream-keeper will do it for you.
Downloads
8
Maintainers
Readme
ngx-stream-keeper
You don't longer need to worry about handling subscriptions - stream-keeper will do it for you.
Installation
npm install @mikelgo/ngx-stream-keeper
Usage
@Component({
...
providers: [NgxStreamKeeper]
})
export class Component {
constructor(private streamKeeper: NgxStreamKeeper) {
this.streamKeeper.register(observable$, console.log)
this.streamKeeper.register(observable$.subscribe(console.log))
}
}
Compatibility
- Version 13.x.x is compatible with RxJs >=7.4.0 (Angular 13.x.x +)