chickadee » inotify » next-event!

%eventsparameter
next-event!procedure

Convenience procedure for fetching one event at a time. This calls next-events! internally for filling up an event queue and returns one event from it. The event queue itself is available under %events and can be manipulated with the queue procedures from the data-structures unit.