whargrove / qlog

0 stars 0 forks source link

Implement early termination #10

Closed whargrove closed 4 months ago

whargrove commented 8 months ago

Adjust the reader to exit when the linesSeen equals the count parameter OR the lines collected equals the count parameter. The first condition to reach will break out of the buffer/chunk loop and return the results with a continuation token if there are more bytes to read.