Type Alias RealtimeContractAuthorityState

RealtimeContractAuthorityState:
    | "replaying"
    | "live"
    | "stale"
    | "terminal"

Explicit realtime contract authority states.

  • replaying: no confirmed authoritative baseline yet — awaiting an initial or replacement snapshot, or resuming from a durable checkpoint whose continuity has not been reconfirmed by a live event.
  • live: an accepted snapshot establishes ground truth and the most recent contiguous event arrived within the caller's staleness window (or no window was supplied).
  • stale: the baseline is still authoritative but no event has arrived within staleAfterMs; render the last known state but surface liveness doubt.
  • terminal: delivery stopped on an unrecoverable error or an explicit close. The last accepted checkpoint, if any, remains available for read-only rendering but will never advance.