Method LeaseAsync(IExchange, bool, CancellationToken)

Assembly: redb.Route.Core.dll

Borrows the connection of the exchange's redb service. readOnly is ignored: the statement runs
where redb works, never on a replica.

public Task<SqlConnectionLease> LeaseAsync(IExchange exchange, bool readOnly = false, CancellationToken ct = default)