Method AcquireAsync(IDistributedLock, string, string, string, int, TimeSpan, CancellationToken)

Assembly: redb.Tsak.Core.Pro.dll

Attempts to acquire a lock, polling with exponential backoff until either acquired
or waitTimeout elapses. Symmetric with
: returns with
= false on timeout (does not throw).

public static Task<LockResult> AcquireAsync(this IDistributedLock @lock, string lockName, string ownerNodeId, string groupName, int ttlSeconds, TimeSpan waitTimeout, CancellationToken ct = default)

Remarks

Polling delays use exponential backoff: 50ms → 200ms → 500ms → 1000ms (cap).