(callback, after)
| 408 | } |
| 409 | |
| 410 | function setUnrefTimeout(callback, after) { |
| 411 | // Type checking identical to setTimeout() |
| 412 | validateFunction(callback, 'callback'); |
| 413 | |
| 414 | const timer = new Timeout(callback, after, undefined, false, false); |
| 415 | insert(timer, timer._idleTimeout); |
| 416 | |
| 417 | return timer; |
| 418 | } |
| 419 | |
| 420 | // Type checking used by timers.enroll() and Socket#setTimeout() |
| 421 | function getTimerDuration(msecs, name) { |
no test coverage detected