Skip to main content

router_with_state

Function router_with_state 

Source
pub fn router_with_state(state: VaccineDocumentState) -> Router
Expand description

Builds the staff-facing workflow router over caller-provided deterministic state.

Tests and local runtimes use this entrypoint to share state across requests while preserving the same safety contract as router: handlers may draft, audit, and persist projections, but live side effects remain blocked unless a future runtime adapter adds explicit approval and provider gates.