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

Method Execute

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

Source from the content-addressed store, hash-verified

177
178 protected:
179 void Execute() override {}
180 virtual void OnOK() override { _deferred.Resolve(Env().Undefined()); }
181 virtual void OnError(const Napi::Error& /* e */) override {
182 _deferred.Reject(Env().Undefined());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected