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

Method Execute

test/async_progress_worker.cc:315–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313
314 protected:
315 void Execute(const ExecutionProgress& progress) override {
316 ProgressData data{0};
317 progress.Send(&data, 1);
318 progress.Signal();
319 }
320
321 void OnProgress(const ProgressData* /* data */, size_t count) override {
322 Napi::Env env = Env();

Callers

nothing calls this directly

Calls 2

SendMethod · 0.80
SignalMethod · 0.80

Tested by

no test coverage detected