1#ifndef UVW_FS_POLL_INCLUDE_H
2#define UVW_FS_POLL_INCLUDE_H
32 static void start_callback(uv_fs_poll_t *hndl,
int status,
const uv_stat_t *prev,
const uv_stat_t *curr);
35 using time = std::chrono::duration<unsigned int, std::milli>;
54 int start(const std::
string &file, time interval);
67 std::
string path() noexcept;
73# include "fs_poll.cpp"
int start(const std::string &file, time interval)
Starts the handle.
std::string path() noexcept
Gets the path being monitored by the handle.
int init() final
Initializes the handle.
int stop()
Stops the handle.