Skip to main content
Build Real-time Applications with the new "watch" API in Deno KV
Read more
function clearTimeout

Cancels a scheduled action initiated by setTimeout()

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

Parameters

optional
id: number