1 write to _semaphore
NuGet.Protocol (1)
HttpSource\SemaphoreSlimThrottle.cs (1)
21
_semaphore
= semaphore ?? throw new ArgumentNullException(nameof(semaphore));
3 references to _semaphore
NuGet.Protocol (3)
HttpSource\SemaphoreSlimThrottle.cs (3)
17
public int CurrentCount =>
_semaphore
.CurrentCount;
26
await
_semaphore
.WaitAsync();
31
_semaphore
.Release();