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

Method DelayRequest

test/cpp/callbackcontext.cpp:17–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15class DelayRequest : public AsyncResource {
16 public:
17 DelayRequest(int milliseconds_, v8::Local<v8::Function> callback_)
18 : AsyncResource("nan:test.DelayRequest"),
19 callback(callback_),
20 milliseconds(milliseconds_) {
21 request.data = this;
22 }
23 ~DelayRequest() {}
24
25 Callback callback;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected