Skip to content

Commit

Permalink
doc: update async_hooks.md
Browse files Browse the repository at this point in the history
Typo `runAndReturn` -> `runSyncAndReturn`

PR-URL: #32382
Reviewed-By: Vladimir de Turckheim <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Doc999tor authored and MylesBorins committed Mar 26, 2020
1 parent 6693b40 commit 3e002c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/async_hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
Expand Down

0 comments on commit 3e002c3

Please sign in to comment.