periph
periph copied to clipboard
fs: move to context.Context based ListEdges() function.
- For v3.5.0, add fs.LIstenEdges() that lazy creates a single goroutine
- For v4.0.0, remove fs.Event
This will greatly simplify this package, no need for Peek() and things like that that would be needed for WaitForEdge().
Ported to https://github.com/periph/host/issues/37.