Skip to content
Français

CommandTaskOptions

  • sandboxRequired
    Sandbox
    Existing caller-owned sandbox reused by the task; the task does not close it.
  • commandRequired
    Command | ((context: TaskContext) => Command)
    Command to run, or factory that builds it from task dependency values.
export type CommandTaskOptions = {
  sandbox: Sandbox;
  command: Command | ((context: TaskContext) => Command);
};