A deep dive into the Event Loop: task priorities, dealing with long tasks, using the browser idle time, scheduling microtasks, counting the number of event loops on a page. In a previous blog post, we looked at the Event Loop algorithm from a bird’s eye view. In this article, we’ll…