Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Subscription

Package version

Represents the status of a subscribe() call and can be used to stop a subscription.

Hierarchy

  • Subscription

Index

Methods

Methods

close

  • close(): Promise<void>
  • Stops the subscription from receiving more messages.

    throws

    {Error} Thrown if the underlying connection encounters an error while closing.

    Returns Promise<void>

    Promise

isRunning

  • isRunning(): boolean

Generated using TypeDoc