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

Method TestWorker

test/async_progress_queue_worker.cc:222–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220
221 private:
222 TestWorker(Function cb,
223 Function progress,
224 const char* resource_name,
225 const Object& resource,
226 int32_t times)
227 : AsyncProgressQueueWorker(cb, resource_name, resource), _times(times) {
228 _js_progress_cb.Reset(progress, 1);
229 }
230
231 int32_t _times;
232 size_t _test_case_count = 0;

Callers

nothing calls this directly

Calls 1

ResetMethod · 0.80

Tested by

no test coverage detected