From 97faeeb11547a878621ddcaa18937cd3701b21b2 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 93a6ccdfc18879..e40d160e5fb47c 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -990,7 +990,7 @@ added: v13.10.0 --> Creates a new instance of `AsyncLocalStorage`. Store is only provided within a -`run` method call. +`run` or after `enterWith` method call. ### `asyncLocalStorage.disable()`