-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to wait for inotify threads #34
Comments
Hi, can you share a snippet of your use case? If you intend the daemon process to stop when inotify is done, maybe you can use daemon = withInotify $ \ inot -> do
... Or just end the daemon with |
Sure. What I want to do is closest to In the snippet this action is represented by After reading your comment I tried to use
|
I'm implementing a daemon process. It inits inotify and must persist while inotify threads persist.
Do you consider some API change allowing to wait for inotify threads?
As a simpler alternative it may be enough to export
INotify
constructor, I did it in a fork and may submit as a PR.The text was updated successfully, but these errors were encountered: