SubscriptionLike

interface stable

interface SubscriptionLike extends Unsubscribable {
  get closed: boolean
  unsubscribe(): void

  // inherited from index/Unsubscribable
  unsubscribe(): void
}

Class Implementations

  • Subject
    • BehaviorSubject
    • ReplaySubject
    • AsyncSubject
  • Subscription
    • Subscriber

Properties

Property Type Description
closed boolean Read-only.

Methods

unsubscribe(): void

Parameters

There are no parameters.

Returns

void

© 2015–2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/index/interface/SubscriptionLike