| 109 | |
| 110 | |
| 111 | int uv_timer_again(uv_timer_t* handle) { |
| 112 | if (handle->timer_cb == NULL) |
| 113 | return UV_EINVAL; |
| 114 | |
| 115 | if (handle->repeat) { |
| 116 | uv_timer_stop(handle); |
| 117 | uv_timer_start(handle, handle->timer_cb, handle->repeat, handle->repeat); |
| 118 | } |
| 119 | |
| 120 | return 0; |
| 121 | } |
| 122 | |
| 123 | |
| 124 | void uv_timer_set_repeat(uv_timer_t* handle, uint64_t repeat) { |
no test coverage detected
searching dependent graphs…