Inotifier.getEvent

get one pending inotify event

This function may sleep.

struct Inotifier
@trusted @nogc
const(Event)*
getEvent
()

Return Value

Type: const(Event)*

A pointer to a const Event. This pointer remains valid until the next call to getEvent or consumeAllEvents.

Bugs

Only one fiber at a time may use this function

Meta