Nothing Particularly Magnificent

    @deepkit/core-rxjs
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.1-alpha.58 • Public • Published

    estdlib.ts RXJS

    Build Status npm version

    Installation

    npm install @deepkit/core-rxjs
    

    Usage example

    import {Subscriptions} from "@deepkit/core-rxjs";
    
    class MyComponent implements OnDestroy, OnInit {
        private subs = new Subscriptions;
    
        public onInit() {
            this.subs.add = this.observable.subscribe(() => {
                //do something
            });
    
            this.subs.add = this.anotherOne.subscribe(() => {
                //do something
            });
        }
        
        public OnDestroy() {
            this.subs.unsubscribe();
        }
    }

    Keywords

    none

    Install

    npm i @deepkit/core-rxjs

    DownloadsWeekly Downloads

    345

    Version

    1.0.1-alpha.58

    License

    MIT

    Unpacked Size

    144 kB

    Total Files

    37

    Last publish

    Collaborators

    • marcj