Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno/cli/js/lib.deno.shared_globals.d.ts>setInterval

A modern runtime for JavaScript and TypeScript.
Go to Latest
function setInterval
import { setInterval } from "https://deno.land/x/deno@v1.0.0/cli/js/lib.deno.shared_globals.d.ts";

Repeatedly calls a function , with a fixed time delay between each call.

Parameters

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

Returns

number