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

Method TestWorker

test/async_progress_worker.cc:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215
216 private:
217 TestWorker(Function cb,
218 Function progress,
219 const char* resource_name,
220 const Object& resource)
221 : AsyncProgressWorker(cb, resource_name, resource) {
222 _progress.Reset(progress, 1);
223 }
224
225 bool dataSent = false;
226 std::condition_variable _cv;

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.80

Tested by

no test coverage detected