StoreNotification
@rotorsoft/act-root / act/src / StoreNotification
Type Alias: StoreNotification
StoreNotification =
object
Defined in: libs/act/src/types/ports.ts:92
Payload delivered by Store.notify when a different process commits one or more events to the same backing store.
Notifications are emitted per commit transaction, not per event โ
a single commit of N events produces one notification carrying all N
events. This matches transactional semantics, minimizes wire wakeups,
and lets handlers reason about atomic batches.
Stores that implement notify self-filter their own commits โ handlers
receive notifications only for cross-process activity. This is the signal
that lets a horizontally-scaled Act deployment wake settle() immediately
on remote commits, instead of waiting for the next poll/debounce cycle.
Propertiesโ
eventsโ
readonlyevents:ReadonlyArray<{id:number;name:string; }>
Defined in: libs/act/src/types/ports.ts:94
Events in this commit (id + name), in commit order
streamโ
readonlystream:string
Defined in: libs/act/src/types/ports.ts:93
Stream that was committed to