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

Method OnAsyncWorkProgress

napi-inl.h:6721–6726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6719
6720template <typename DataType>
6721inline void AsyncProgressWorkerBase<DataType>::OnAsyncWorkProgress(
6722 Napi::Env /* env */, Napi::Function /* jsCallback */, void* data) {
6723 ThreadSafeData* tsd = static_cast<ThreadSafeData*>(data);
6724 tsd->asyncprogressworker()->OnWorkProgress(tsd->data());
6725 delete tsd;
6726}
6727
6728template <typename DataType>
6729inline napi_status AsyncProgressWorkerBase<DataType>::NonBlockingCall(

Callers

nothing calls this directly

Calls 3

OnWorkProgressMethod · 0.80
asyncprogressworkerMethod · 0.80
dataMethod · 0.80

Tested by

no test coverage detected