periph icon indicating copy to clipboard operation
periph copied to clipboard

fs: move to context.Context based ListEdges() function.

Open maruel opened this issue 7 years ago • 1 comments

  • For v3.5.0, add fs.LIstenEdges() that lazy creates a single goroutine
  • For v4.0.0, remove fs.Event

maruel avatar Jan 14 '19 18:01 maruel

This will greatly simplify this package, no need for Peek() and things like that that would be needed for WaitForEdge().

maruel avatar Jan 14 '19 19:01 maruel

Ported to https://github.com/periph/host/issues/37.

maruel avatar Sep 18 '23 20:09 maruel