Skip to content
Français

CommandTaskOptions

  • sandboxRequired
    Pick<Sandbox, "command">
    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: Pick<Sandbox, "command">;
  command: Command | ((context: TaskContext) => Command);
};