From f12f2f570235515805cc17375793d46edcd23549 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Mon, 7 Oct 2024 08:50:26 +0100 Subject: [PATCH] doc: amend outdated doc about multiple environments (#1586) --- napi.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/napi.h b/napi.h index ac896080d..4710c66ba 100644 --- a/napi.h +++ b/napi.h @@ -307,8 +307,7 @@ using MaybeOrValue = T; /// Node-API operations within the callback. (Many methods infer the /// environment from the `this` instance that the method is called on.) /// -/// In the future, multiple environments per process may be supported, -/// although current implementations only support one environment per process. +/// Multiple environments may co-exist in a single process or a thread. /// /// In the V8 JavaScript engine, a Node-API environment approximately /// corresponds to an Isolate.