Workflows as codeAPI referenceVariable: TERMINAL_EVENTSVariable: TERMINAL_EVENTS const TERMINAL_EVENTS: ReadonlySet<RunEventType> Events that end the run.