Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AgentTaskRunnable

import type { AgentTaskRunnable } from "https://googleapis.deno.dev/v1/batch:v1.ts";

AgentTaskRunnable is the Runnable representation between Agent and CLH communication.

interface AgentTaskRunnable {
alwaysRun?: boolean;
background?: boolean;
container?: AgentContainer;
environment?: AgentEnvironment;
ignoreExitStatus?: boolean;
script?: AgentScript;
timeout?: number;
}

§Properties

§
alwaysRun?: boolean
[src]

By default, after a Runnable fails, no further Runnable are executed. This flag indicates that this Runnable must be run even if the Task has already failed. This is useful for Runnables that copy output files off of the VM or for debugging. The always_run flag does not override the Task's overall max_run_duration. If the max_run_duration has expired then no further Runnables will execute, not even always_run Runnables.

§
background?: boolean
[src]

This flag allows a Runnable to continue running in the background while the Task executes subsequent Runnables. This is useful to provide services to other Runnables (or to provide debugging support tools like SSH servers).

§

Container runnable.

§
environment?: AgentEnvironment
[src]

Environment variables for this Runnable (overrides variables set for the whole Task or TaskGroup).

§
ignoreExitStatus?: boolean
[src]

Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other Runnables to continue instead.

§

Script runnable.

§
timeout?: number
[src]

Timeout for this Runnable.