WebSocket streaming with backpressure
Live in demo 34-realtime-orders.
Open the live example: Real-time / streaming (Real-time & Streaming)
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
Related articles
- Real-Time Grids - Live WebSocket Updates in SvGrid - How to wire a high-frequency WebSocket feed into SvGrid without frame drops - covering stable row identity, RAF batching, and flash feedback done right.