| 105 | namespace internal { |
| 106 | |
| 107 | void handle_delay(struct ev_loop* loop, ev_timer* timer, int revents) |
| 108 | { |
| 109 | lambda::function<void()>* function = |
| 110 | reinterpret_cast<lambda::function<void()>*>(timer->data); |
| 111 | (*function)(); |
| 112 | delete function; |
| 113 | ev_timer_stop(loop, timer); |
| 114 | delete timer; |
| 115 | } |
| 116 | |
| 117 | |
| 118 | Future<Nothing> delay( |
nothing calls this directly
no outgoing calls
no test coverage detected