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

Method Execute

test/cpp/asyncprogressworker.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void Execute (const AsyncProgressWorker::ExecutionProgress& progress) {
30 for (int i = 0; i < iters; ++i) {
31 progress.Send(reinterpret_cast<const char*>(&i), sizeof(int));
32 Sleep(milliseconds);
33 }
34 }
35
36 void HandleProgressCallback(const char *data, size_t count) {
37 HandleScope scope;

Callers

nothing calls this directly

Calls 1

SendMethod · 0.45

Tested by

no test coverage detected