1#ifndef UVW_TIMER_INCLUDE_H
2#define UVW_TIMER_INCLUDE_H
27 static void startCallback(uv_timer_t *handle);
30 using Time = std::chrono::duration<uint64_t, std::milli>;
void stop()
Stops the handle.
void repeat(Time repeat)
Sets the repeat interval value.
void again()
Stops the timer and restarts it if it was repeating.
Time dueIn()
Gets the timer due value.
void start(Time timeout, Time repeat)
Starts the timer.
Time repeat()
Gets the timer repeat value.
bool init()
Initializes the handle.