Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update async_hooks.md
Typo `runAndReturn` -> `runSyncAndReturn`
  • Loading branch information
Doc999tor authored Mar 20, 2020
commit 3232201ad5a0d72f24dcc8a3ead3484d068a6809
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