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

Method Execute

test/async_worker.cc:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100
101 protected:
102 void Execute() override {
103 if (!_succeed) {
104 SetError("test error");
105 }
106 }
107
108 private:
109 TestWorker(Function cb, const char* resource_name, const Object& resource)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected