EventSink
@rotorsoft/act-root / act/src / EventSink
Interface: EventSink
Defined in: libs/act/src/types/action.ts:1182
Write end of the transfer pipeline. Anything
that can host the destructive driver-pattern restore HOF (atomic
wipe + per-event commit) is an EventSink — Store adapters
that ship the optional restore method, plus the framework's
CsvFile utility for "write to a file" targets.
restore is required here (vs. optional on Store) because the
sink slot in IAct.restore demands a writer; non-restorable
stores satisfy EventSource only.
Extends
Properties
dispose
dispose:
Disposer
Defined in: libs/act/src/types/ports.ts:27
Inherited from
Disposable.dispose
Methods
restore()
restore(
driver):Promise<void>
Defined in: libs/act/src/types/action.ts:1183
Parameters
driver
(callback) => Promise<void>
Returns
Promise<void>