Commit 60f8c1a
committed
timers: refactor timers
Consolidates the implementation of regular and internal (_unrefActive)
timers.
Also includes a couple optimizations:
- Isolates the try/catch from listOnTimeout() in a new tryOnTimeout().
- Uses a TimersList constructor as the base for linkedlists.
Additionally includes other cleanup and clarification, such as a rename
of "Timer" to "TimerWrap".
PR-URL: #4007
Reviewed-By: Rod Vagg <[email protected]>
Reviewed-By: Trevor Norris <[email protected]>
Reviewed-By: Julien Gilli <[email protected]>
Reviewed-By: Chris Dickinson <[email protected]>1 parent 3e3d941 commit 60f8c1a
2 files changed
+106
-218
lines changed
0 commit comments