Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/timers.ts>setTimeout

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function setTimeout
import { setTimeout } from "https://deno.land/std@0.145.0/node/timers.ts";

Parameters

cb: (...args: unknown[]) => void
optional
timeout: number
...args: unknown[]