MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / EscapableHandleScope

Method EscapableHandleScope

napi-inl.h:5457–5459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5455////////////////////////////////////////////////////////////////////////////////
5456
5457inline EscapableHandleScope::EscapableHandleScope(
5458 napi_env env, napi_escapable_handle_scope scope)
5459 : _env(env), _scope(scope) {}
5460
5461inline EscapableHandleScope::EscapableHandleScope(Napi::Env env) : _env(env) {
5462 napi_status status = napi_open_escapable_handle_scope(_env, &_scope);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected