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

Function InitAsyncProgressWorker

test/async_progress_worker.cc:345–355  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343} // namespace
344
345Object InitAsyncProgressWorker(Env env) {
346 Object exports = Object::New(env);
347 exports["doWork"] = Function::New(env, TestWorker::DoWork);
348 exports["doMalignTest"] = Function::New(env, MalignWorker::DoWork);
349 exports["doSignalAfterProgressTest"] =
350 Function::New(env, SignalAfterProgressTestWorker::DoWork);
351 exports["runWorkerNoCb"] = Function::New(env, TestWorkerWithNoCb::DoWork);
352 exports["runWorkerWithRecv"] = Function::New(env, TestWorkerWithRecv::DoWork);
353 exports["runWorkerWithCb"] = Function::New(env, TestWorkerWithCb::DoWork);
354 return exports;
355}
356
357#endif

Callers 1

InitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected