Module

x/dax/src/command.ts>CommandBuilder#timeout

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
method CommandBuilder.prototype.timeout
import { CommandBuilder } from "https://dotland.deno.dev/x/dax@0.39.2/src/command.ts";

Specifies a timeout for the command. The command will exit with exit code 124 (timeout) if it times out.

Note that when using .noThrow() this won't cause an error to be thrown when timing out.

Parameters

delay: Delay | undefined