clearTimeout

Functionin globals@fastly/js-compute 4.0.0View source
clearTimeout(timeoutID?: number): void

The clearTimeout() method cancels a timeout previously established by calling setTimeout(). If the parameter provided does not identify a previously established action, this method does nothing.

See also

Parameters

timeoutID: numberoptional

The identifier of the timeout you want to cancel. This ID was returned by the corresponding call to setTimeout().

Returns

void