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

Method BlockingCall

napi-inl.h:6116–6120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6114 typename DataType,
6115 void (*CallJs)(Napi::Env, Napi::Function, ContextType*, DataType*)>
6116inline napi_status
6117TypedThreadSafeFunction<ContextType, DataType, CallJs>::BlockingCall(
6118 DataType* data) const {
6119 return napi_call_threadsafe_function(_tsfn, data, napi_tsfn_blocking);
6120}
6121
6122template <typename ContextType,
6123 typename DataType,

Callers 15

TestCallFunction · 0.80
TestCallFunction · 0.80
TestUnrefFunction · 0.80
TestRefFunction · 0.80
entryWithTSFNFunction · 0.80
entryDelayedTSFNMethod · 0.80
entryAcquireFunction · 0.80
DataSourceThreadFunction · 0.80
TestUnrefFunction · 0.80
TestRefFunction · 0.80
TestCallFunction · 0.80

Calls 1

callbackFunction · 0.85

Tested by 9

TestCallFunction · 0.64
TestCallFunction · 0.64
TestUnrefFunction · 0.64
TestRefFunction · 0.64
TestUnrefFunction · 0.64
TestRefFunction · 0.64
TestCallFunction · 0.64
TestCallFunction · 0.64