Skip to main content
Module

x/netzo/deno.d.ts>clearTimeout

SDK for Netzo, the open Web platform to unify IoT devices, applications and services.
Go to Latest
function clearTimeout
import { clearTimeout } from "https://deno.land/x/netzo@v0.1.8/deno.d.ts";

Cancels a scheduled action initiated by setTimeout()

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

Parameters

optional
id: number