We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 385510b commit a6da5fdCopy full SHA for a6da5fd
doc/api/globals.md
@@ -122,8 +122,10 @@ The `queueMicrotask()` method queues a microtask to invoke `callback`. If
122
`callback` throws an exception, the [`process` object][] `'uncaughtException'`
123
event will be emitted.
124
125
-`process.nextTick()` will always run before the microtask queue, and so
126
-unexpected execution order may be observed.
+The microtask queue is managed by V8 and may be used in a similar manner to
+the `process.nextTick()` queue, which is managed by Node.js. The
127
+`process.nextTick()` queue is always processed before the microtask queue
128
+within each turn of the Node.js event loop.
129
130
```js
131
// Here, `queueMicrotask()` is used to ensure the 'load' event is always
0 commit comments