Hierarchy

  • SubscriberComponent

    Implements

    • OnDestroy

    Constructors

    Properties

    subscriptionManager: SubscriptionManager<Subscription> = ...

    Methods

    • A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.

      Returns void

    • Protected

      subscribes an observable that is internally added to the subscription manager and destroyed automatically on ngDestroy

      Type Parameters

      • R
      • E

      Parameters

      • observable: Observable<R>
      • OptionalobserverOrNext: Partial<Observer<R>> | ((value: R) => void)
      • Optionaltag: string

      Returns number