| 5727 | } |
| 5728 | |
| 5729 | inline 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 | } |
| 5735 | inline void AsyncWorker::OnWorkComplete(Napi::Env env, napi_status status) { |
| 5736 | if (status != napi_cancelled) { |
| 5737 | HandleScope scope(_env); |
nothing calls this directly
no test coverage detected