We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d387eff commit 7087e67Copy full SHA for 7087e67
README.md
@@ -14,7 +14,7 @@ var d1 = await asyncLock.ReaderLockAsync("123");
14
d1.Dispose();
15
16
//set timeout
17
-CancellationTokenSource cancellationToken = new CancellationTokenSource(TimeSpan.FromSeconds(10));
+using CancellationTokenSource cancellationToken = new CancellationTokenSource(TimeSpan.FromSeconds(10));
18
19
//acquire writer lock
20
using var d2 = await asyncLock.WriterLockAsync("123", cancellationToken.Token);
0 commit comments