From 1b6803073752eae535f44e547d3b12e069681929 Mon Sep 17 00:00:00 2001 From: Andrey Pechkurov Date: Thu, 31 Dec 2020 10:29:49 +0300 Subject: [PATCH] doc: improve ALS.enterWith and exit descriptions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/36705 Refs: https://github.com/nodejs/node/issues/36683 Reviewed-By: James M Snell Reviewed-By: Gerhard Stöbich Reviewed-By: Rich Trott --- doc/api/async_hooks.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index 08111b67a8507e..d8c3f63c3e876d 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -1000,7 +1000,7 @@ added: --> Creates a new instance of `AsyncLocalStorage`. Store is only provided within a -`run` method call. +`run` or after `enterWith` method call. ### `asyncLocalStorage.disable()`