const interval = setInterval(function ping() { // do something }, 30000); clearInterval(interval); // close interval
Last updated 3 years ago