This docstring doesn't say what is supposed to happenw hen the number of events == limit.  Maybe something like "When number of events fetched == limit, the first batch of `limit` events are processed and then a batch of 0 events is 'processed'"?