public static Task AcquireAsync(this IDistributedAsyncLock mutexLock, TimeSpan timeout) { return(mutexLock.AcquireAsync((int)timeout.TotalMilliseconds)); }
public static Task AcquireAsync(this IDistributedAsyncLock mutexLock) { return(mutexLock.AcquireAsync(0)); }