Skip to main content
clearTimeout - timers - Node documentation
function clearTimeout

Usage in Deno

import { clearTimeout } from "node:timers";
clearTimeout(timeoutId:
Timeout
| string
| number
| undefined
): void

Cancels a Timeout object created by setTimeout().

Parameters

timeoutId:
Timeout
| string
| number
| undefined

Return Type

void
variable clearTimeout

Type

global.clearTimeout