Runs all remaining microtasks, including those scheduled as a result of running them, until there are no more microtasks scheduled.
Does not run timers.
void flushMicrotasks();