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

Method CallInternal

napi-inl.h:6629–6639  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6627}
6628
6629inline napi_status ThreadSafeFunction::CallInternal(
6630 CallbackWrapper* callbackWrapper,
6631 napi_threadsafe_function_call_mode mode) const {
6632 napi_status status =
6633 napi_call_threadsafe_function(_tsfn, callbackWrapper, mode);
6634 if (status != napi_ok && callbackWrapper != nullptr) {
6635 delete callbackWrapper;
6636 }
6637
6638 return status;
6639}
6640
6641// static
6642inline void ThreadSafeFunction::CallJS(napi_env env,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected