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

Method Execute

test/cpp/asyncprogressqueueworkerstream.cpp:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 void Execute (
35 const typename AsyncProgressQueueWorker<T>::ExecutionProgress& progress) {
36 data_t data;
37 for (int i = 0; i < iters; ++i) {
38 data.index = i;
39 data.data = i * 2;
40 progress.Send(&data, 1);
41 }
42 }
43
44 void HandleProgressCallback(const T *data, size_t count) {
45 HandleScope scope;

Callers

nothing calls this directly

Calls 1

SendMethod · 0.45

Tested by

no test coverage detected