1.0.2 • Published 2 years ago

unload-object v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Unload any object

This 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.

Supported JavaScript object

  • Node.js: Timers
  • Node.js: Sockets
  • Browser: Timers

Install & Usage

npm install unload-object
const unload = require("unload-object").unload;

var t1 = setTimeout(() => { console.log("Hi"); });
unload(t1); // t1 never fires

License

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.

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago