Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorVictor <doc999tor@gmail.com>2020-03-20 05:19:20 +0300
committerMyles Borins <mylesborins@google.com>2020-03-26 17:20:49 +0300
commitafb5639119c91afc8c6f5c078468fe6f7775f8a2 (patch)
tree26c91c91a1c3987c00497b637af84905629f66a7 /doc/api
parenta621608f12988fac81d63043f4d147850d57c4c2 (diff)
doc: update async_hooks.md
Typo `runAndReturn` -> `runSyncAndReturn` PR-URL: https://github.com/nodejs/node/pull/32382 Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/async_hooks.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md
index 2d4fc0498b0..37354ce3864 100644
--- a/doc/api/async_hooks.md
+++ b/doc/api/async_hooks.md
@@ -952,7 +952,7 @@ added: v13.10.0
This method returns the current store.
If this method is called outside of an asynchronous context initialized by
-calling `asyncLocalStorage.run` or `asyncLocalStorage.runAndReturn`, it will
+calling `asyncLocalStorage.run` or `asyncLocalStorage.runSyncAndReturn`, it will
return `undefined`.
### `asyncLocalStorage.enterWith(store)`