Moein Nemati
Moein Nemati
To assert capacity of `Array`, `Slice` and `Channel` types, add `Cap` and `Capf` assertions.
## Summary Add `Cap` and `Capf` assertions to assert capacity of `Array`, `Slice` and `Channel` types. ## Motivation There is no assertions for capacities in Go in this library. It...
This pull request introduces new composite lock methods for various lock types via code generation. ### Auto Generated Codes - `src/DistributedLock.Core/DistributedLockProviderExtensions.cs` - `src/DistributedLock.Core/DistributedReaderWriterLockProviderExtensions.cs` - `src/DistributedLock.Core/DistributedSemaphoreProviderExtensions.cs` - `src/DistributedLock.Core/DistributedUpgradeableReaderWriterLockProviderExtensions.cs`
## Description We need a feature to acquire distributed locks on multiple keys simultaneously. The solution must: - Acquire locks in a deterministic order (e.g., alphabetical) to prevent deadlocks. -...