MCPcopy Create free account
hub / github.com/nodejs/nan / ProgressWorker

Method ProgressWorker

test/cpp/asyncprogressworkerstream.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24class ProgressWorker : public AsyncProgressWorkerBase<T> {
25 public:
26 ProgressWorker(
27 Callback *callback
28 , Callback *progress
29 , int milliseconds
30 , int iters)
31 : AsyncProgressWorkerBase<T>(callback), progress(progress)
32 , milliseconds(milliseconds), iters(iters) {}
33
34 ~ProgressWorker() {
35 delete progress;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected