Task
A representation of the invocation of an Executor
Table of contents
Section titled “Table of contents”Properties
Section titled “Properties”- cache
- continuous
- endTime
- hash
- hashDetails
- id
- outputs
- overrides
- parallelism
- projectRoot
- startTime
- target
Properties
Section titled “Properties”• Optional cache: boolean
Determines if a given task should be cacheable.
continuous
Section titled “continuous”• Optional continuous: boolean
This denotes if the task runs continuously
endTime
Section titled “endTime”• Optional endTime: number
Unix timestamp of when a Batch Task ends
• Optional hash: string
Hash of the task which is used for caching.
hashDetails
Section titled “hashDetails”• Optional hashDetails: TaskHashDetails
Details about the composition of the hash
• id: string
Unique ID
outputs
Section titled “outputs”• outputs: string[]
The outputs the task may produce
overrides
Section titled “overrides”• overrides: Record<string, unknown>
Overrides for the configured options of the target
parallelism
Section titled “parallelism”• Optional parallelism: boolean
Determines if a given task should be parallelizable.
projectRoot
Section titled “projectRoot”• Optional projectRoot: string
Root of the project the task belongs to
startTime
Section titled “startTime”• Optional startTime: number
Unix timestamp of when a Batch Task starts
target
Section titled “target”• target: TaskTarget
Details about which project, target, and configuration to run.