RuntimeExternalEvent
Describes the external cause of a write execution, such as an API request or a script, when no stored Event triggered it.
Remarks
Section titled “Remarks”Events published inside the execution start a new lineage: they carry this traceId, an
empty eventPrnLineage, and no parent. Supply id together with
ReadWriteExecuteOptions.idempotencyScope to have the Runtime reject a second execution
for the same id and scope.
Properties
Section titled “Properties”
readonlyoptionalid?:string
UUID identifying this trigger for idempotency; two executions with the same id and
idempotency scope run at most once.
Default Value
Section titled “Default Value”undefined; the execution is never deduplicated.
payload
Section titled “payload”
readonlypayload:Record<string,unknown>
Data describing the trigger, for the caller’s own use; published Events do not inherit it.
traceId
Section titled “traceId”
readonlytraceId:string
Correlates this execution and every Event it publishes across Alpyne systems.

