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

Function GetCurrentEventLoop

nan.h:670–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

668};
669
670inline uv_loop_t* GetCurrentEventLoop() {
671#if NODE_MAJOR_VERSION >= 10 || \
672 NODE_MAJOR_VERSION == 9 && NODE_MINOR_VERSION >= 3 || \
673 NODE_MAJOR_VERSION == 8 && NODE_MINOR_VERSION >= 10
674 return node::GetCurrentEventLoop(v8::Isolate::GetCurrent());
675#else
676 return uv_default_loop();
677#endif
678}
679
680//============ =================================================================
681

Callers 4

AsyncQueueWorkerFunction · 0.85
NAN_METHODFunction · 0.85
NAN_METHODFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected