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

Method HandleProgressCallback

test/cpp/asyncprogressworkersignal.cpp:36–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 void HandleProgressCallback(const char *data, size_t count) {
37 HandleScope scope;
38
39 v8::Local<v8::Value> arg = New<v8::Boolean>(data == NULL && count == 0);
40 progress->Call(1, &arg, async_resource);
41 }
42
43 private:
44 Callback *progress;

Callers

nothing calls this directly

Calls 1

CallMethod · 0.80

Tested by

no test coverage detected