flushMicrotasks method

void flushMicrotasks ()

Runs all remaining microtasks, including those scheduled as a result of running them, until there are no more microtasks scheduled.

Does not run timers.

Implementation

void flushMicrotasks();