- * @param timeout maximum amount of time to wait for an event
- * @return events received, or an empty list if the timeout was reached
+ * @param queue list to append new events to
+ * @param timeout maximum amount of time (in millis) to wait for an
+ * event. 0 means to return immediately, i.e. perform a poll.