Skip to content

createEventFlushDriver

createEventFlushDriver(options): EventFlushDriver

Defined in: packages/client/src/event-lane.ts:1119

Drive the Outbox flush: at most one pass in flight, a signal arriving mid-pass coalescing into a single follow-up, an interval as the FALLBACK trigger (retries + recovery), and requestPass as the event-driven path an append takes. start() runs a pass immediately, which is what drains events written offline after a reconnect or a boot — no new append required.

EventFlushDriverOptions

EventFlushDriver