1 write to Semaphore
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\ProcessLock.cs (1)
19
Semaphore
= new SemaphoreSlim(1);
2 references to Semaphore
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\ProjectTemplates\Shared\ProcessLock.cs (2)
28
Assert.True(await
Semaphore
.WaitAsync(timeout.Value), $"Unable to acquire process lock for process {Name}");
33
Semaphore
.Release();