import { clearTimeout } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno.shared_globals.d.ts";
Cancels a scheduled action initiated by setTimeout()
const id = setTimeout(() => {console.log('hello');}, 500);
// ...
clearTimeout(id);
x/deno/cli/tsc/dts/lib.deno.shared_globals.d.ts>clearTimeout
import { clearTimeout } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.deno.shared_globals.d.ts";
Cancels a scheduled action initiated by setTimeout()
const id = setTimeout(() => {console.log('hello');}, 500);
// ...
clearTimeout(id);