<PackageReference Include="NUnit" Version="3.0.0-rc" />

CountdownEvent

public class CountdownEvent
A simplified implementation of .NET 4 CountdownEvent for use in earlier versions of .NET. Only the methods used by NUnit are implemented.
public int CurrentCount { get; }

Gets the current count remaining for the CountdownEvent

public int InitialCount { get; }

Gets the initial count established for the CountdownEvent

public CountdownEvent(int initialCount)

Construct a CountdownEvent

public void Signal()

Decrement the count by one

public void Wait()

Block the thread until the count reaches zero