mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
Do not share unnecessary information about nextTick state between JS & C++, instead only track whether a nextTick is scheduled or not. Turn nextTickQueue into an Object instead of a class since multiple instances are never created. Other assorted refinements and refactoring. PR-URL: https://github.com/nodejs/node/pull/17738 Reviewed-By: Anna Henningsen <anna@addaleax.net>