Called by run on main in case we are not running on the main thread
| 360 | |
| 361 | // Called by run on main in case we are not running on the main thread |
| 362 | NODEASYNC_ASYNC_WORK_CB(AsyncCb) { |
| 363 | auto Token = static_cast<TokenData*>(handle->data); |
| 364 | Token->func(); |
| 365 | uv_close((uv_handle_t*)handle, AyncCloseCb); |
| 366 | delete Token; |
| 367 | } |
| 368 | |
| 369 | NODEASYNC_IDLE_WORK_CB(onNextTick) { |
| 370 | std::function<void()>* func = |
nothing calls this directly
no outgoing calls
no test coverage detected