clearInterval

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

The clearInterval() method cancels a timed, repeating action which was previously established by a call to setInterval(). If the parameter provided does not identify a previously established action, this method does nothing.

See also

Parameters

intervalID: numberoptional

The identifier of the repeated action you want to cancel. This ID was returned by the corresponding call to setInterval().

Returns

void