Expand description
WebSocket frame encoding and subscription forwarding helpers. WebSocket forward loop + lag handling.
Structs§
- Encoded
Event Stream - Bounded encoded stream built from an engine subscription.
Constants§
- SEQUENCE_
CONTIGUITY_ VIOLATION error_typediscriminator for the per-workflow contiguity tripwire: a delivered-stream sequence gap or regression that should be unreachable under the splice invariants, surfaced loudly instead of delivering a gapped stream.
Functions§
- forward_
subscription - Forward a previously authorized engine subscription to a WebSocket.
- handle_
subscription_ socket - Authorize a wire subscription request and forward it on an accepted socket.
- spawn_
encoded_ event_ stream - Spawn the non-blocking engine-reader side of a WebSocket subscription.
Type Aliases§
- Encoded
Frame - Encoded event frame queued for a WebSocket connection.