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

Method NonBlockingCall

napi-inl.h:6125–6129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6123 typename DataType,
6124 void (*CallJs)(Napi::Env, Napi::Function, ContextType*, DataType*)>
6125inline napi_status
6126TypedThreadSafeFunction<ContextType, DataType, CallJs>::NonBlockingCall(
6127 DataType* data) const {
6128 return napi_call_threadsafe_function(_tsfn, data, napi_tsfn_nonblocking);
6129}
6130
6131template <typename ContextType,
6132 typename DataType,

Callers 6

SendProgress_Method · 0.80
SignalMethod · 0.80
TestCallFunction · 0.80
DataSourceThreadFunction · 0.80
TestCallFunction · 0.80
DataSourceThreadFunction · 0.80

Calls 1

callbackFunction · 0.85

Tested by 2

TestCallFunction · 0.64
TestCallFunction · 0.64