defers execution of the provided function by creating an idler that means, the function will be invoked once the event loop has delivered all pending events.
| 231 | // that means, the function will be invoked once the event loop has delivered |
| 232 | // all pending events. |
| 233 | static void __cdecl NextTick(std::function<void()> func) { |
| 234 | uv_idle_t* idler = GetIdleToken(); |
| 235 | NextTick(idler, func); |
| 236 | } |
| 237 | |
| 238 | static void __cdecl NextTick(uv_idle_t* idler, std::function<void()> func) { |
| 239 | TokenData* Token = static_cast<TokenData*>(idler->data); |
nothing calls this directly
no outgoing calls
no test coverage detected