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

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

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

Cancels a scheduled action initiated by setTimeout()

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

Parameters

optional
id: number