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

Method TestWorkerWithNoCb

test/async_progress_worker.cc:63–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62 private:
63 TestWorkerWithNoCb(Napi::Env env, Function cb) : AsyncProgressWorker(env) {
64 _cb.Reset(cb, 1);
65 }
66 TestWorkerWithNoCb(Napi::Env env, const char* resourceName, Function cb)
67 : AsyncProgressWorker(env, resourceName) {
68 _cb.Reset(cb, 1);

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.80

Tested by

no test coverage detected