rxjs / latest / api / index / interface / subscriptionlike.html

SubscriptionLike

interface stable

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

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

Properties

Property Type Description
closed boolean Read-only.

Methods

unsubscribe(): void

Parameters

There are no parameters.

Returns

void

© 2015–2022 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