Method BeforeRouteAsync(IExchange, IReadOnlyList<TItem>, CancellationToken)

Assembly: redb.Route.dll

Called after the batch exchange is built and before the route runs, with the scope the route runs in: a
transport that offers its settlement to the route (Kafka's offsets to a transaction) does it here, a transport that
settles on receipt (an automatic acknowledgement) settles here. The returned object, when there is one, is
disposed once the route has returned, before the outcome is settled.

ValueTask<IDisposable?> BeforeRouteAsync(IExchange batch, IReadOnlyList<TItem> items, CancellationToken ct)