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

Function AsyncExecuteComplete

nan.h:2390–2394  ·  view source on GitHub ↗

uv_after_work_cb has 1 argument before node-v0.9.4 and * 2 arguments since node-v0.9.4 * https://github.com/libuv/libuv/commit/92fb84b751e18f032c02609467f44bfe927b80c5 */

Source from the content-addressed store, hash-verified

2388 * https://github.com/libuv/libuv/commit/92fb84b751e18f032c02609467f44bfe927b80c5
2389 */
2390inline void AsyncExecuteComplete(uv_work_t *req) {
2391 AsyncWorker* worker = static_cast<AsyncWorker*>(req->data);
2392 worker->WorkComplete();
2393 worker->Destroy();
2394}
2395inline void AsyncExecuteComplete (uv_work_t* req, int status) {
2396 AsyncExecuteComplete(req);
2397}

Callers

nothing calls this directly

Calls 2

WorkCompleteMethod · 0.45
DestroyMethod · 0.45

Tested by

no test coverage detected