Method DrainAsync(CancellationToken, ILogger?, string?)

Assembly: redb.Route.dll

Drains in-flight exchanges and force-cancels if drain times out.
Call in consumer Stop() after stopping acceptance of new work.

public Task DrainAsync(CancellationToken ct, ILogger? logger = null, string? consumerName = null)