Repeatedly calls a function , with a fixed time delay between each call.
// Outputs 'hello' to the console every 500ms
setInterval(() => { console.log('hello'); }, 500);
© 2018–2021 the Deno authors
https://doc.deno.land/deno/stable/~/setInterval