Module quickmd::background
source · [−]Expand description
Background monitoring for file changes.
Whenever a file changes, we want to regenerate the HTML and send it to the UI for rendering to
the user. This is done with the init_update_loop
function.
Traits
A common trait for glib::Sender
and std::mpsc::Sender
.
Functions
The main background worker. Spawns a thread and uses the notify
crate to listen for file changes.