gonotify
gonotify copied to clipboard
Add synchronisation to wait for goroutine completion
The new WaitForStop method waits for all goroutines spawned by a file or directory watcher to have terminated, giving applications a way to deterministically wait for resource cleanup to have completred after cancelling the passed context.
Add goleak checks to tests, verifying that no rogue goroutines are present at test teardown.