MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / InitAsyncProgressQueueWorker

Function InitAsyncProgressQueueWorker

test/async_progress_queue_worker.cc:238–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236} // namespace
237
238Object InitAsyncProgressQueueWorker(Env env) {
239 Object exports = Object::New(env);
240 exports["createWork"] = Function::New(env, TestWorker::CreateWork);
241 exports["queueWork"] = Function::New(env, TestWorker::QueueWork);
242 exports["runWorkerNoCb"] = Function::New(env, TestWorkerWithNoCb::DoWork);
243 exports["runWorkerWithRecv"] = Function::New(env, TestWorkerWithRecv::DoWork);
244 exports["runWorkerWithCb"] = Function::New(env, TestWorkerWithCb::DoWork);
245 return exports;
246}
247
248#endif

Callers 1

InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected