Unload any object
npm install unload-objectThis software allows to unload any object, i.e. Timers, Sockets.
It is usefull when a function returns something, that may be terminated in different ways.
* Node.js: Timers
* Node.js: Sockets
* Browser: Timers
``sh`
npm install unload-object
`js
const unload = require("unload-object").unload;
var t1 = setTimeout(() => { console.log("Hi"); });
unload(t1); // t1 never fires
``
This software is released under the MIT license.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.