From 60fbf571ece727072864d38fae981350563cf567 Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Sat, 30 Jul 2022 13:15:01 +0200 Subject: [PATCH] Clarify FAQ on goroutines Fixes #71 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b6d86e6..9ce2965 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,8 @@ watcher is on the roadmap: [#18]). [#18]: https://github.com/fsnotify/fsnotify/issues/18 ### Do I have to watch the Error and Event channels in a separate goroutine? -As of now, yes. +As of now, yes (you can read both channels in the same goroutine, you don't need +a separate goroutine for both channels; see the example). ### Why don't notifications work with NFS, SMB, or FUSE? fsnotify requires support from underlying OS to work. The current NFS and SMB -- 2.50.1