MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / Execute

Method Execute

test/async_worker.cc:304–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302 }
303
304 void Execute() override {
305 // Simulate cpu heavy task
306 std::this_thread::sleep_for(std::chrono::milliseconds(100));
307 }
308
309 void OnOK() override {
310 Napi::Error::New(this->Env(),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected