|
|
@ -24,7 +24,7 @@ public class DaprAbpDistributedLock : IAbpDistributedLock, ITransientDependency |
|
|
DistributedLockDaprOptions = distributedLockDaprOptions.Value; |
|
|
DistributedLockDaprOptions = distributedLockDaprOptions.Value; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public async Task<IAbpDistributedLockHandle> TryAcquireAsync( |
|
|
public async Task<IAbpDistributedLockHandle?> TryAcquireAsync( |
|
|
string name, |
|
|
string name, |
|
|
TimeSpan timeout = default, |
|
|
TimeSpan timeout = default, |
|
|
CancellationToken cancellationToken = default) |
|
|
CancellationToken cancellationToken = default) |
|
|
|