Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/tools/release/deps.ts>dax.CommandBuilder#timeout

A modern runtime for JavaScript and TypeScript.
Go to Latest
method dax.CommandBuilder.prototype.timeout
Re-export
import { dax } from "https://deno.land/x/deno@v1.38.4/tools/release/deps.ts";
const { CommandBuilder } = dax;

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