Skip to main content

clankerdiff_watch/file_watcher/
file_watcher.rs

1use std::future::Future;
2
3/// Watches the filesystem for changes
4pub trait FileWatcher: Send + 'static {
5    fn recv(&mut self) -> impl Future<Output = Option<()>> + Send;
6}