Skip to main content

Module peer_state

Module peer_state 

Source
Expand description

PeerState — the framework’s consolidated per-peer state.

The engine’s four peer-related primitives — PeerGate (named concurrency limiter), PeerGovernor (policy + health source of truth), BackoffTable (per-peer exponential backoff), and BackpressureTracker (receiver-side overload state for the backpressure protocol per docs/internal/superpowers/specs/2026-06-23-backpressure-runtime.md) — cluster under one struct. Component authors reach them through ctx.peer_state.{gate, governor, backoff, backpressure} instead of four sibling fields on the framework bundle.

Structs§

PeerState
Consolidated per-peer state.