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

Method AsyncBareProgressWorkerBase

nan.h:2129–2139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2127/* abstract */ class AsyncBareProgressWorkerBase : public AsyncWorker {
2128 public:
2129 explicit AsyncBareProgressWorkerBase(
2130 Callback *callback_,
2131 const char* resource_name = "nan:AsyncBareProgressWorkerBase")
2132 : AsyncWorker(callback_, resource_name) {
2133 uv_async_init(
2134 GetCurrentEventLoop()
2135 , &async
2136 , AsyncProgress_
2137 );
2138 async.data = this;
2139 }
2140
2141 virtual ~AsyncBareProgressWorkerBase() {
2142 }

Callers

nothing calls this directly

Calls 1

GetCurrentEventLoopFunction · 0.85

Tested by

no test coverage detected