Skip to content

Type Alias: SubscriptionEndReason ​

ts
type SubscriptionEndReason = "deleted" | "terminated" | "completed" | "closed" | "overflow";

Defined in: netconf/src/operations/subscriptions/types.ts:138

Why a subscription ended:

  • deleted: by delete(), break, or await using
  • terminated: the server ended it (identity says why: ietf-subscribed-notifications:no-such-subscription when killed)
  • completed: its stop-time passed
  • closed: the session ended
  • overflow: the reader fell behind (the subscription is deleted)

Released under the MIT Licence.