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

x/deno/cli/js/timers.ts>setTimeout

A modern runtime for JavaScript and TypeScript.
Go to Latest
function setTimeout
import { setTimeout } from "https://deno.land/x/deno@v0.30.0/cli/js/timers.ts";

Sets a timer which executes a function once after the timer expires.

Parameters

cb: (...args: Args) => void
optional
delay = [UNSUPPORTED]
...args: Args

Returns

number