MCPcopy Create free account
hub / github.com/nodejs/nan / SleepWorker

Method SleepWorker

test/cpp/asyncworker.cpp:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15class SleepWorker : public AsyncWorker {
16 public:
17 SleepWorker(Callback *callback, int milliseconds)
18 : AsyncWorker(callback, "nan:test.SleepWorker"),
19 milliseconds(milliseconds) {}
20 ~SleepWorker() {}
21
22 void Execute () {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected