Optional
dependenciesOptional
inputOptional validation schema for runtime input validation. When provided, task input will be validated before execution.
Optional
metaOptional metadata used for docs, filtering and tooling.
Optional
middlewareMiddleware applied around task execution.
Optional
resultOptional validation schema for the task result.
When provided, the result will be validated immediately after the task's
run
resolves, without considering middleware.
Optional
tagsTags applied to the task that might define its behvaiour or impact the systems.
Access other tasks/resources/events. Can be an object or a function when you need late or config‑dependent resolution.