INotify.read

Issue a blocking read to get a bunch of events, there is at least one event in the returned slice.

If no event occurs within specified timeout returns empty array. Occuracy of timeout is in miliseconds.

Note that returned slice is mutable. This indicates that it is invalidated on the next call to read, just like byLine in std.stdio.

struct INotify
read
(
Duration timeout
)

Meta