Clarify comment on Watch::ResultChan()

This commit is contained in:
Mike Spreitzer 2020-04-16 21:56:32 -04:00
parent b9c370c90f
commit 012c3dab95

View File

@ -32,8 +32,8 @@ type Interface interface {
Stop()
// Returns a chan which will receive all the events. If an error occurs
// or Stop() is called, this channel will be closed, in which case the
// watch should be completely cleaned up.
// or Stop() is called, the implementation will close this channel and
// release any resources used by the watch.
ResultChan() <-chan Event
}