1#ifndef UVW_FS_POLL_INCLUDE_H
2#define UVW_FS_POLL_INCLUDE_H
35 static void startCallback(uv_fs_poll_t *handle,
int status,
const uv_stat_t *prev,
const uv_stat_t *curr);
38 using Time = std::chrono::duration<unsigned int, std::milli>;
56 void start(
const std::string &file, Time interval);
68 std::string
path() noexcept;
74# include "fs_poll.cpp"
bool init()
Initializes the handle.
std::string path() noexcept
Gets the path being monitored by the handle.
void start(const std::string &file, Time interval)
Starts the handle.
void stop()
Stops the handle.