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

Method Acquire

napi-inl.h:6156–6159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6154 typename DataType,
6155 void (*CallJs)(Napi::Env, Napi::Function, ContextType*, DataType*)>
6156inline napi_status
6157TypedThreadSafeFunction<ContextType, DataType, CallJs>::Acquire() const {
6158 return napi_acquire_threadsafe_function(_tsfn);
6159}
6160
6161template <typename ContextType,
6162 typename DataType,

Callers 4

entryAcquireFunction · 0.80
DataSourceThreadFunction · 0.80
entryAcquireFunction · 0.80
DataSourceThreadFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected