MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / OnAsyncWorkComplete

Method OnAsyncWorkComplete

napi-inl.h:5729–5734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5727}
5728
5729inline void AsyncWorker::OnAsyncWorkComplete(napi_env env,
5730 napi_status status,
5731 void* asyncworker) {
5732 AsyncWorker* self = static_cast<AsyncWorker*>(asyncworker);
5733 self->OnWorkComplete(env, status);
5734}
5735inline void AsyncWorker::OnWorkComplete(Napi::Env env, napi_status status) {
5736 if (status != napi_cancelled) {
5737 HandleScope scope(_env);

Callers

nothing calls this directly

Calls 1

OnWorkCompleteMethod · 0.95

Tested by

no test coverage detected