Searched refs:currentOA (Results 1 – 1 of 1) sorted by relevance
811 auto currentOA = std::make_unique<CurrentOAAsyncContext>(); in QueryCurrentOsAccountInner() local812 currentOA->env = env; in QueryCurrentOsAccountInner()813 currentOA->throwErr = throwErr; in QueryCurrentOsAccountInner()815 if (!ParseParaCurrentOA(env, cbInfo, currentOA.get()) && throwErr) { in QueryCurrentOsAccountInner()820 if (currentOA->callbackRef == nullptr) { in QueryCurrentOsAccountInner()821 napi_create_promise(env, ¤tOA->deferred, &result); in QueryCurrentOsAccountInner()834 reinterpret_cast<void *>(currentOA.get()), in QueryCurrentOsAccountInner()835 ¤tOA->work); in QueryCurrentOsAccountInner()837 napi_queue_async_work_with_qos(env, currentOA->work, napi_qos_default); in QueryCurrentOsAccountInner()838 currentOA.release(); in QueryCurrentOsAccountInner()