1 parent 3925748 commit a60febbCopy full SHA for a60febb
1 file changed
README.md
@@ -4,7 +4,7 @@ DistributedLock is a .NET library that provides robust and easy-to-use distribut
4
5
With DistributedLock, synchronizing access to a region of code across multiple applications/machines is as simple as:
6
```C#
7
-using (await myDistributedLock.AcquireAsync())
+await using (await myDistributedLock.AcquireAsync())
8
{
9
// I hold the lock here
10
}
0 commit comments