Method TryClaimAsync(long, int, int, string, CancellationToken)

Assembly: redb.Identity.Core.dll

Takes a lease on one row for leaseSeconds; true when this node holds it. The row must
still have the attempts the caller read: a pass that read it before another pass's
attempt loses the claim instead of sending the next attempt under the number of the previous one.

public Task<bool> TryClaimAsync(long id, int attempts, int leaseSeconds, string node, CancellationToken ct = default)