Skip to content

RuntimeExternalEvent

Describes the external cause of a write execution, such as an API request or a script, when no stored Event triggered it.

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.

PlatformInstance.execute

readonly optional id?: string

UUID identifying this trigger for idempotency; two executions with the same id and idempotency scope run at most once.

undefined; the execution is never deduplicated.


readonly payload: Record<string, unknown>

Data describing the trigger, for the caller’s own use; published Events do not inherit it.


readonly traceId: string

Correlates this execution and every Event it publishes across Alpyne systems.