Cancels a timed, repeating action which was previously started by a call to setInterval()
const id = setInterval(() => {console.log('hello');}, 500);
// ...
clearInterval(id);
© 2018–2021 the Deno authors
https://doc.deno.land/deno/stable/~/clearInterval