summaryrefslogtreecommitdiff
path: root/doc/api/globals.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/globals.md')
-rw-r--r--doc/api/globals.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/globals.md b/doc/api/globals.md
index 78087060a5..e41d621883 100644
--- a/doc/api/globals.md
+++ b/doc/api/globals.md
@@ -119,8 +119,8 @@ added: v11.0.0
* `callback` {Function} Function to be queued.
The `queueMicrotask()` method queues a microtask to invoke `callback`. If
-`callback` throws an exception, the [`process` object][] `'error'` event will
-be emitted.
+`callback` throws an exception, the [`process` object][] `'uncaughtException'`
+event will be emitted.
In general, `queueMicrotask` is the idiomatic choice over `process.nextTick()`.
`process.nextTick()` will always run before the microtask queue, and so