3 ms·
There is queueMicrotask (https://developer.mozilla.org/en-US/docs/Web/API/queueMicrotask https://developer.mozilla.org/en-US/docs/Web/API/queueMicrot...) to que
by ash_gti 4y ago
There is queueMicrotask (https://developer.mozilla.org/en-US/docs/Web/API/queueMicrotask https://developer.mozilla.org/en-US/docs/Web/API/queueMicrot...) to queue onto the end of the current iteration and you can use an `await 0;` to cycle the event loop as well.