From 3232201ad5a0d72f24dcc8a3ead3484d068a6809 Mon Sep 17 00:00:00 2001 From: Victor Date: Fri, 20 Mar 2020 04:19:20 +0200 Subject: [PATCH] Update async_hooks.md Typo `runAndReturn` -> `runSyncAndReturn` --- doc/api/async_hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index 2d4fc0498b0218..37354ce3864701 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)`