1#ifndef UVW_TIMER_INCLUDE_H
2#define UVW_TIMER_INCLUDE_H
23 static void start_callback(uv_timer_t *hndl);
26 using time = std::chrono::duration<uint64_t, std::milli>;
int stop()
Stops the handle.
int init() final
Initializes the handle.
int again()
Stops the timer and restarts it if it was repeating.
time due_in()
Gets the timer due value.
time repeat()
Gets the timer repeat value.
int start(time timeout, time repeat)
Starts the timer.