From 5f9ea997a3858ebab25c7d558dd794f18477b190 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Fri, 4 Oct 2024 12:04:06 +0100 Subject: [PATCH] doc: amend outdated doc about multiple environments --- 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.