Open neko-kai opened 11 years ago
Can you explain why this is useful? Maybe give a code snippet that illustrates your use case?
@feuerbach I have a file chooser widget specifying a directory to watch for, right now I'm forced to keep associated WatchManager inside an IORef, and destroy-and-rebuild it each time user changes directory. This can get uglier when multiple threads are involved.
I think exbb2 wants to cancel all current watches without closing the manager
It would've been quite convenient if
WatchManager
could be reused aftercloseManager
in the same way as http-conduit'sManager
.