Skip to content

@oona/vlo / host / EventSource

Type Alias: EventSource ​

EventSource = EventInput | ((tx, run) => Promise<EventInput | null>)

Defined in: sdk/ts/sdk/src/host/transition.ts:61

The event to submit. A function form runs inside the transaction with the run already locked, so it can read and write journal rows before deciding — returning null commits whatever it did without folding anything.