<viennaos/net>
Home
Node.js
clear timers nodejs
clear timers nodejs
Use the clearTimeout function to clear a timer in Node.js.
Pass the timer object returned by the setTimeout function to clearTimeout.
This will effectively cancel the execution of the code scheduled by setTimeout.