WebSocket streaming with backpressure
Live in demo 34-realtime-orders.
When
Live tick stream with pause / resume / disconnect-and-replay and per-tick delta merge.
How
Key API surface:
onmessage merges into $statepause flag throttles applies
See the demo source for the full implementation; this recipe pins the pattern + the surface so you can copy-paste it confidently. The doc page that explains the underlying feature in depth is linked from the recipes index.
See also
- Demo 34-realtime-orders source
- Demo 34-realtime-orders prompt sidecar - drop into an LLM context window
- Recipes index