Expand description
Event bus: WebSocket event dispatching to connected clients. Port of Go’s pkg/eventbus/eventbus.go.
Structs§
- Event
Bus - Global event bus for dispatching WebSocket events to connected clients.
- Event
BusBridge - Bridge from MPS Broker to EventBus. Wraps MuxEvents as RPC eventrecv messages and broadcasts them to all WS clients.
- Events
Dropped Event - The
ws:eventsdroppedevent: srv dropped events for this window (its WebSocket lane was full), so what it shows may be stale. The window re-fetches what it shows. - Lane
Drops - What one connection’s lanes have dropped because its consumer wasn’t keeping up.
- WSEvent
Type - WsReceivers
- The pair of receivers handed to a WebSocket connection on registration.
Terminal echo + interactive events arrive on
priority; perf telemetry onbackground.
Enums§
- Lane
- Egress priority lane for a server→client event.
Constants§
- WS_
EVENT_ MUX_ OBJ_ BATCHED_ UPDATES - One WS frame carrying an ARRAY of
MuxObjUpdates from a single atomic backend transition. Mirrored infrontend/app/store/mps-events.ts(WpsEvent.MuxObjBatchedUpdates) — the frontend applies the whole array in one Solidbatch()flush. Seebroadcast_mux_obj_updatesbelow. - WS_
EVENT_ RPC