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

Function Delay

test/cpp/callbackcontext.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28};
29
30void Delay(uv_work_t* req) {
31 DelayRequest *delay_request = static_cast<DelayRequest*>(req->data);
32 Sleep(delay_request->milliseconds);
33}
34
35void AfterDelay(uv_work_t* req, int status) {
36 HandleScope scope;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected