Method CollectAsync(CancellationToken)

Assembly: redb.Route.dll

Collects one batch. Returns an empty batch when no message came within ,
so the caller's loop gets to look at its stop token; returns the messages received so far, marked
, when stop fires mid-batch.

public Task<CollectedBatch<TItem>> CollectAsync(CancellationToken stop)