EventBusOptions
Defined in: packages/core/src/events.ts:3
Type Parameters
Section titled “Type Parameters”A
Properties
Section titled “Properties”capacity?
Section titled “capacity?”
readonlyoptionalcapacity?:number
Defined in: packages/core/src/events.ts:5
Buffer size for non-critical events. Defaults to 256.
isCritical
Section titled “isCritical”
readonlyisCritical: (event) =>boolean
Defined in: packages/core/src/events.ts:10
Critical events (interactions and user messages) are never dropped. They use an unbounded bus, which is safe because their volume is user-driven.
Parameters
Section titled “Parameters”A
Returns
Section titled “Returns”boolean