Function Inotifier.getEvent

get one pending inotify event

const(Inotifier.Event)* getEvent () @nogc @trusted;

This function may sleep.

Returns

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