Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Subscription

Package version

Interface that describes the object returned by the subscribe() method on the EventHubConsumerClient.

Hierarchy

  • Subscription

Index

Properties

Methods

Properties

isRunning

isRunning: boolean

Indicates whether the receiver is running. true - is running; false otherwise.

readonly

Methods

close

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

    throws

    Error if the underlying connection encounters an error while closing.

    Returns Promise<void>

    Promise

Generated using TypeDoc