queueMicrotask
规范open in new window
web.queue-microtaskopen in new window
web.queue-microtask
function queueMicrotask(fn: Function): void;
core-js(-pure)/stable|actual|full/queue-microtask
示例open in new window:
queueMicrotask(() => console.log("called as microtask"));