MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / NODEASYNC_IDLE_WORK_CB

Method NODEASYNC_IDLE_WORK_CB

src/NodeRTLib/ProjectFiles/node-async.h:369–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367 }
368
369 NODEASYNC_IDLE_WORK_CB(onNextTick) {
370 std::function<void()>* func =
371 static_cast<std::function<void()>*>(handle->data);
372 (*func)();
373 delete func;
374 uv_idle_stop(handle);
375 delete handle;
376 }
377};
378} // namespace NodeUtils

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected