MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / Escape

Method Escape

napi-inl.h:5481–5486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5479}
5480
5481inline Value EscapableHandleScope::Escape(napi_value escapee) {
5482 napi_value result;
5483 napi_status status = napi_escape_handle(_env, _scope, escapee, &result);
5484 NAPI_THROW_IF_FAILED(_env, status, Value());
5485 return Value(_env, result);
5486}
5487
5488#if (NAPI_VERSION > 2)
5489////////////////////////////////////////////////////////////////////////////////

Callers 15

ThenMethod · 0.80
CatchMethod · 0.80
GetMethod · 0.80
operator()Method · 0.80
CallMethod · 0.80
MakeCallbackMethod · 0.80
NewMethod · 0.80
escapeFromScopeFunction · 0.80
escapeFromExistingScopeFunction · 0.80
stressEscapeFromScopeFunction · 0.80
doubleEscapeFromScopeFunction · 0.80

Calls 1

ValueFunction · 0.70

Tested by

no test coverage detected