PleaseWait 2.0.0-alpha

This is a prerelease version of PleaseWait.
There is a newer version of this package available.
See the version list below for details.
dotnet add package PleaseWait --version 2.0.0-alpha
NuGet\Install-Package PleaseWait -Version 2.0.0-alpha
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PleaseWait" Version="2.0.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PleaseWait --version 2.0.0-alpha
#r "nuget: PleaseWait, 2.0.0-alpha"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PleaseWait as a Cake Addin
#addin nuget:?package=PleaseWait&version=2.0.0-alpha&prerelease

// Install PleaseWait as a Cake Tool
#tool nuget:?package=PleaseWait&version=2.0.0-alpha&prerelease

please-wait

CI NuGet NuGet

Testing asynchronous systems is not an easy task and is obscured by details such as handling threads, timeouts and concurrency. PleaseWait is a lightweight DSL that allows you to express the expectations of an asynchronous system in a straightforward manner by waiting for conditions to occur. For example:

using static PleaseWait;
using static TimeUnit;

[Test]
public void DemonstratePleaseWait()
{
	var orange = new Orange();
	_ = orange.PeelFastAsync();
	
	// PleaseWait lets you wait until the asynchronous operation completes:
	Wait().AtMost(10, SECONDS).Until(() => orange.IsPeeled);
	...
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.1

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.6.0 168 4/8/2024
2.5.0 412 1/5/2024
2.4.1 225 11/21/2023
2.4.0 105 11/20/2023
2.3.3 289 6/20/2023
2.3.2 138 5/26/2023
2.3.1 122 5/26/2023
2.3.0 135 5/25/2023
2.2.0 131 5/25/2023
2.1.1 124 5/23/2023
2.1.0 132 5/23/2023
2.0.0 135 5/19/2023
2.0.0-alpha2 109 5/19/2023
2.0.0-alpha 115 5/19/2023
1.0.3 146 5/11/2023
1.0.2 135 5/8/2023
1.0.1 151 5/6/2023
1.0.0 136 5/5/2023
1.0.0-alpha2 96 5/5/2023
1.0.0-alpha 128 5/5/2023