Skip to main content
Module

x/dax/mod.ts>CommandBuilder#timeout

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
method CommandBuilder.prototype.timeout
Re-export
import { CommandBuilder } from "https://deno.land/x/dax@0.31.0/mod.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