Skip to main content

EngineEvent

@forge/monorepo


@forge/monorepo / backend/src / EngineEvent

Type Alias: EngineEvent

EngineEvent = DistributiveOmit<RunEvent, "sequence" | "occurredAt" | "runId">

Defined in: backend/src/runtime/worker.ts:56

An event the engine yields. The worker stamps runId, a monotonic sequence and occurredAt, so engines never have to track sequencing. Distributes over the union, keeping type discriminating.