Skip to main content

Interface: WorkflowTaskRequest

The input of one workflow task (C-ABI).

Properties​

features?​

optional features?: string[]

The bundle features (C-FEATURES, the names of code.features) the workspace enables for this task, from its flags. From C-R1 the runtime reads interceptors: a task of a bundle that exports interceptors fails with UNSUPPORTED_COMMAND unless it is listed, so turning fluidgrids.run-control off stops interceptors from running even for a bundle pushed while it was on. Absent means none.


history​

history: RunEventRecord[]


info​

info: WorkflowInfoSnapshot


kind​

kind: "query" | "task" | "verify"


localActivityResults?​

optional localActivityResults?: LocalActivityResult[]


nowMs​

nowMs: number

The task's start time; the clock for new side effects only.


protocol​

protocol: number


queries?​

optional queries?: QueryRequest[]

Queries to answer once the history is replayed.


updates?​

optional updates?: UpdateRequest[]

Pending updates the lease delivers (C-ABI-H).


workflowFn​

workflowFn: string