Skip to content

Function: createLiveEventBus()

createLiveEventBus(): LiveEventBus

Defined in: packages/fate/src/server/live.ts:195

Creates a small in-memory event bus for Fate live view subscriptions.

The bus signals that an entity changed and can optionally include changed field paths. The native live handler refetches the selected record, or only the changed selected fields when paths are provided, before sending it to clients. It does not persist events or replay events after reconnects; provide a durable custom bus for lossless lastEventId resume behavior.

Returns

LiveEventBus

Released under the MIT License