EventSink
@rotorsoft/act-root / act/src / EventSink
Interface: EventSink
Defined in: libs/act/src/types/action.ts:1018
Write end of the transfer pipeline (ACT-1128 / #788). 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:1019
Parametersโ
driverโ
(callback) => Promise<void>
Returnsโ
Promise<void>