Interface: StagePollSuspendedCommand
Defined in: packages/workflow-engine/src/kernel/commands.ts:237
Polls suspended stages to check if they can be resumed.
Properties
maxChecks?
readonlyoptionalmaxChecks?:number
Defined in: packages/workflow-engine/src/kernel/commands.ts:239
serves?
readonlyoptionalserves?: readonlyServedDefinition[] |"all"
Defined in: packages/workflow-engine/src/kernel/commands.ts:249
Which definition versions this poll may service, in the same shape and with the same defaulting as RunClaimPendingCommand.serves.
It has to be the same answer as the claim's: a host that adopts a run must also poll its suspended stages, and a host that declines to adopt must not hold them. The filter is applied in the query that lists ready stages, so an unserving host never claims a stage's poll lease at all.
type
readonlytype:"stage.pollSuspended"
Defined in: packages/workflow-engine/src/kernel/commands.ts:238