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);
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);