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

x/tl_log/examples/deploy.d.ts>clearInterval

Time-Level-Log for Deno🦕
Latest
function clearInterval
import { clearInterval } from "https://deno.land/x/tl_log@0.1.2/examples/deploy.d.ts";

Cancels a timed, repeating action which was previously started by a call to setInterval()

const id = setInterval(() => {console.log('hello');}, 500);
...
clearInterval(id);

Parameters

optional
id: number