Delegate BatchReceive<TItem>

Assembly: redb.Route.dll

Receives up to max messages into into, waiting at most
wait for the first of them, and returns how many it added. A transport that hands out one
message at a time adds at most one; one that receives several in a call (SQS) adds up to max.
It never adds more than max.

public delegate ValueTask<int> BatchReceive<TItem>(List<TItem> into, int max, TimeSpan wait, CancellationToken ct)