Documentation - v7.17.0
    Preparing search index...

    Interface Subscription

    Handle returned by Observable.subscribe, used to stop receiving notifications.

    interface Subscription {
        unsubscribe: () => void;
    }
    Index
    unsubscribe: () => void

    Removes the observer from the observable. Call it only once: calling it again when no observer is left runs the observable teardown again.