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

Method Execute

test/async_worker_persistent.cc:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37 protected:
38 void Execute() override {
39 if (!_succeed) {
40 SetError("test error");
41 }
42 }
43
44 private:
45 PersistentTestWorker(Function cb, const char* resource_name)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected