Skip to content

Commit 3e002c3

Browse files
Doc999torMylesBorins
authored andcommitted
doc: update async_hooks.md
Typo `runAndReturn` -> `runSyncAndReturn` PR-URL: #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>
1 parent 6693b40 commit 3e002c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/async_hooks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ added: v13.10.0
952952

953953
This method returns the current store.
954954
If this method is called outside of an asynchronous context initialized by
955-
calling `asyncLocalStorage.run` or `asyncLocalStorage.runAndReturn`, it will
955+
calling `asyncLocalStorage.run` or `asyncLocalStorage.runSyncAndReturn`, it will
956956
return `undefined`.
957957

958958
### `asyncLocalStorage.enterWith(store)`

0 commit comments

Comments
 (0)