@actnet/app-core - v0.1.0
    Preparing search index...

    Type Alias ConnectionState

    ConnectionState:
        | { state: "disconnected" }
        | { state: "connecting" }
        | { state: "connected" }
        | { state: "reconnecting"; nextAttemptAt: Temporal.Instant }

    Liveness of the connection to the homeserver. Discriminated by state.

    The reconnect task transitions: "disconnected""connecting""connected", and on failure → "reconnecting" (carries nextAttemptAt for backoff display).

    Type Declaration

    • { state: "disconnected" }
    • { state: "connecting" }
    • { state: "connected" }
    • { state: "reconnecting"; nextAttemptAt: Temporal.Instant }
      • state: "reconnecting"
      • nextAttemptAt: Temporal.Instant

        Instant of the next scheduled reconnect attempt.