Commit Graph
3 Commits
Author SHA1 Message Date
Max BrunsfeldandNathan Sobo 4878bf82ff Make EventStream interface more flexible
Take a callback instead of an mpsc Sender. The
run method blocks and invokes the callback for
each batch of events. The caller controls the
threading. The callback can return false to terminate
the event stream.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-04-15 17:38:52 -07:00
Max BrunsfeldandNathan Sobo 6d3dc85dad Tweak fsevent flags
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-04-15 16:46:34 -07:00
Max BrunsfeldandNathan Sobo fbaab121f6 Add fsevent crate to workspace
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2021-04-15 16:29:55 -07:00