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

Function Release

test/threadsafe_function/threadsafe_function.cc:179–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179static Value Release(const CallbackInfo& /* info */) {
180 if (s_tsfn.Release() != napi_ok) {
181 Error::Fatal("Release", "ThreadSafeFunction.Release() failed");
182 }
183 return Value();
184}
185
186static Value StartThread(const CallbackInfo& info) {
187 return StartThreadInternal(info, ThreadSafeFunctionInfo::BLOCKING);

Callers

nothing calls this directly

Calls 2

ValueClass · 0.50
ReleaseMethod · 0.45

Tested by

no test coverage detected