Idea: `memlog.ReadBatch()` method
embano1 opened this issue · comments
Michael Gasch commented
Allow to read ranges if streaming or single reads are not fitting the use case.
Example:
# reads up to len(batch) into batch, returning number records read
memlog.ReadBatch(ctx context.Context, start Offset, batch []Record) (int, error)