Searched refs:napiAsyncWork (Results 1 – 2 of 2) sorted by relevance
38 return napiAsyncWork; in CreateAsyncWork()43 if (napiAsyncWork == nullptr) { in Execute()49 auto ret = napiAsyncWork->func_(); in Execute()57 if (napiAsyncWork == nullptr) { in Complete()64 if (napiAsyncWork->triggered_) { in Complete()69 std::weak_ptr<NapiAsyncWork> asyncWorkWptr = napiAsyncWork; in Complete()78 NapiTimer::GetInstance()->Register(func, napiAsyncWork->timerId_); in Complete()87 if (napiAsyncWork->napiAsyncCallback_) { in Complete()88 napiAsyncWork->triggered_ = true; in Complete()89 napiAsyncWork->napiAsyncCallback_->CallFunction(errCode, object); in Complete()[all …]
71 std::shared_ptr<NapiAsyncWork> napiAsyncWork = nullptr; member