@honua/sdk-js
    Preparing search index...

    Type Alias McpNotificationStreamStatusExperimental

    McpNotificationStreamStatus:
        | "idle"
        | "connecting"
        | "open"
        | "reconnecting"
        | "unsupported"
        | "failed"
        | "closed"

    Lifecycle of one subscription.

    unsupported, failed, and closed are terminal — the stream never leaves them, and a consumer that wants another subscription opens a new one.

    Type Declaration

    • "idle"

      Constructed, not yet started.

    • "connecting"

      The first GET is in flight.

    • "open"

      Subscribed; frames are being read.

    • "reconnecting"

      The stream dropped; a backoff delay is running before the next attempt.

    • "unsupported"

      The server answered 405/501: it offers no GET notification stream. Terminal.

    • "failed"

      The reconnect budget was exhausted. Terminal.

    • "closed"

      Torn down by McpNotificationStream.close or the caller's signal. Terminal.