Interface: EventsForCommandsContext
Properties
enabled?
optionalenabled?:CommandGate
Which commands are enabled (see validateCommands). Default core.
nowMs
nowMs:
number
Task start time (the request's nowMs); timers fire at nowMs + durationMs.
relief?
optionalrelief?:CommandRelief
What the lease already granted; relief commands pass the gate (see isReliefCommand).
taskId
taskId:
string
The task that produced the commands; written as each event's taskId.
updates?
optionalupdates?:Readonly<Record<string, {args?:Json;headers?:Record<string,string>;name:string; }>>
The pending updates the lease delivered, by id (C-ABI-H): UPDATE_ACCEPTED
carries the request from here. An update history already admitted
(UPDATE_ADMITTED) is found in the run state instead. An update reply
for an id in neither is INVALID_REQUEST.