Hierarchy (view full)

Constructors

Properties

activeIntervalMs: number
activeThresholdMs: number
activeTimestamp: number = 0
closer?: Promise<void>

If the ExchangeManager performs async work to clean up a session it sets this promise. This is because historically we didn't return from destroy() until ExchangeManager was complete. Not sure if this is entirely necessary but it makes sense so this allows us to maintain the old behavior.

dataModelRevision: number
idleIntervalMs: number
interactionModelRevision: number
maxPathsPerInvoke: number
messageCounter: MessageCounter
messageReceptionState: MessageReceptionState
specificationVersion: number
supportsMRP = true
timestamp: number = ...

Accessors

Methods

  • Ends a session. Outstanding subscription data will be flushed before the session is destroyed.

    Parameters

    • sendClose: boolean
    • closeAfterExchangeFinished: boolean = false

    Returns Promise<void>