Skip to main content
RunningScriptOptions.timeout - vm - Node documentation
property RunningScriptOptions.timeout

Usage in Deno

import { type RunningScriptOptions } from "node:vm";

Specifies the number of milliseconds to execute code before terminating execution. If execution is terminated, an Error will be thrown. This value must be a strictly positive integer.

Type

number | undefined
Back to top