runParseLoop

Perform a blocking read from stdin to try and parse events. Calls to this function are not guaranteed to read an event, nor are they guaranteed to read only one event. Events which are read will be placed into events.

It is expected that this function will be called repeatedly in a loop.

Return

False if returning due to interrupt being called. True means some data was read, but not necessarily that any events were put into the events channel. This could be because not enough bytes were available to parse the entire event, for example.