High-priority task queue for Node.js and browsers