Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node-addon-api
/ Execute
Method
Execute
test/async_worker.cc:263–266 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
261
}
262
263
void Execute() override {
264
NotifyJSThreadTaskHasStarted();
265
std::this_thread::sleep_for(std::chrono::seconds(1));
266
}
267
268
void OnOK() override {}
269
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected