OptionaldependenciesOptionalinputOptional validation schema for runtime input validation. When provided, task input will be validated before execution.
OptionalmetaOptional metadata used for docs, filtering and tooling.
OptionalmiddlewareMiddleware applied around task execution.
OptionalresultOptional validation schema for the task result.
When provided, the result will be validated immediately after the task's
run resolves, without considering middleware.
OptionaltagsTags 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.