mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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>
This commit is contained in:
1 parent
6693b40bd5
commit
3e002c3977
1 file changed
+1
-1
@@ -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)`
|
||||
|
||||
Reference in new issue
Block a user