Expand description
Realtime change-notification spine.
Provides a process-internal broadcast bus fed by SurrealDB live queries
(db.select("table").live()), re-exposing change events to the SPA as
Server-Sent Events at /api/live/{topic}. Any view that holds a subscribed
entity will re-render on remote mutations, eliminating stale data across
toolbars, dropdowns, headers, and list pages.
Modules§
- surreal_
bus - SurrealDB-backed live-query bus.
Structs§
- Live
Event - A single change event delivered by the bus.
Enums§
- Entity
Topic - Topics enrolled with the bus at startup. Each topic backs one Surreal
.select().live()stream and one broadcast channel. - Live
Action - Action carried by a
LiveEvent. Mirrorssurrealdb::Action. - Realtime
Publish Error
Traits§
- Realtime
Bus - Backend-neutral realtime change bus.