Searched refs:createOACB (Results 1 – 1 of 1) sorted by relevance
344 auto createOACB = std::make_unique<CreateOAAsyncContext>(); in CreateOsAccount() local345 createOACB->env = env; in CreateOsAccount()346 createOACB->throwErr = true; in CreateOsAccount()348 if (!ParseParaCreateOA(env, cbInfo, createOACB.get())) { in CreateOsAccount()353 if (createOACB->callbackRef == nullptr) { in CreateOsAccount()354 napi_create_promise(env, &createOACB->deferred, &result); in CreateOsAccount()363 reinterpret_cast<void *>(createOACB.get()), &createOACB->work); in CreateOsAccount()365 napi_queue_async_work_with_qos(env, createOACB->work, napi_qos_default); in CreateOsAccount()366 createOACB.release(); in CreateOsAccount()