clearTimeout
clearTimeout(timeoutID?: number): voidThe 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