Lines Matching defs:aCtx
75 AsyncContext *aCtx = new AsyncContext;
76 aCtx->env = env;
77 aCtx->ctx = std::move(ctxt);
78 aCtx->execute = std::move(execute);
79 aCtx->complete = std::move(complete);
81 if (aCtx->ctx->callbackRef == nullptr) {
82 napi_create_promise(env, &aCtx->deferred, &promise);
115 reinterpret_cast<void*>(aCtx), &aCtx->work);
116 auto status = napi_queue_async_work(env, aCtx->work);
119 delete aCtx;