From: Martin Tournoij Date: Sat, 30 Jul 2022 11:15:01 +0000 (+0200) Subject: Clarify FAQ on goroutines X-Git-Tag: v1.7.2~91 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=60fbf571ece727072864d38fae981350563cf567;p=fsnotify.git Clarify FAQ on goroutines Fixes #71 --- 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