long-timeout
long-timeout copied to clipboard
:alarm_clock:
Results
2
long-timeout issues
Sort by
recently updated
recently updated
newest added
Node.js v11.0.0 added `timeout.hasRef()` This can replace the `unrefed` property in the code I'm not sure how many people care about backwards compatibility though
Thank you for your work on this module! ## Background NodeJS' [`Timeout.ref()`](https://nodejs.org/api/timers.html#timeoutref) and [`Timeout.unref()`](https://nodejs.org/api/timers.html#timeoutunref) both return a reference to the `Timeout`. This allows for doing things like: ```js const timeout...