-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add readme for examples and more example comments
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Examples for notify and the debouncers. | ||
|
||
### Notify | ||
|
||
- **minitor_raw** basic example for using notify | ||
- **async_monitor** example for using `futures::channel` to receive events in async code | ||
- **poll_sysfs** example for observing linux `/sys` events using PollWatcher and the hasing mode | ||
- **watcher_kind** example for detecting the kind of watcher used and running specific configurations | ||
- **hot_reload_tide** large example for async notify using the crates tide and async-std | ||
- **pollwatcher_scan** example using `PollWatcher::with_initial_scan` to listen for files found during initial scanning | ||
|
||
### Notify Debouncer Full (debouncer) | ||
|
||
- **monitor_debounced** basic usage example for the debouncer | ||
- **monitor_full** advanced usage accessing the internal file ID cache | ||
|
||
### Debouncer Mini (mini debouncer) | ||
|
||
- **debouncer_mini** basic usage example for the mini debouncer | ||
- **debouncer_mini_custom** using the mini debouncer with a specific backend (PollWatcher) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters