NOTE: The inotify
crate now offers a Stream
-based API. It is recommended to use it directly.
The tokio_inotify
crate enables the use of inotify file descriptors in the tokio
framework.
It builds on the inotify
crate by wrapping
the INotify
type into a new type called AsyncINotify
, and implementing
futures::stream::Stream
.
This means that you can consume inotify::Event
s from the AsyncINotify
object and act on them.