Inotifier.consumeAllEvents

Discard all pending events.

This function discards all pending events, both from the memory cache and from the OS. All events in the inotify fd are discarded, regardless of which watch descriptor they belong to.

This function does not sleep.

struct Inotifier
@trusted @nogc
void
consumeAllEvents
()

Meta