PleaseWait 2.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package PleaseWait --version 2.5.0
NuGet\Install-Package PleaseWait -Version 2.5.0
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.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PleaseWait --version 2.5.0
#r "nuget: PleaseWait, 2.5.0"
#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.5.0

// Install PleaseWait as a Cake Tool
#tool nuget:?package=PleaseWait&version=2.5.0

please-wait

CI CodeQL 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.Dsl;
using static PleaseWait.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 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 is compatible.  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 Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.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 126 4/8/2024
2.5.0 398 1/5/2024
2.4.1 175 11/21/2023
2.4.0 103 11/20/2023
2.3.3 287 6/20/2023
2.3.2 136 5/26/2023
2.3.1 120 5/26/2023
2.3.0 133 5/25/2023
2.2.0 129 5/25/2023
2.1.1 122 5/23/2023
2.1.0 130 5/23/2023
2.0.0 133 5/19/2023
2.0.0-alpha2 109 5/19/2023
2.0.0-alpha 115 5/19/2023
1.0.3 144 5/11/2023
1.0.2 133 5/8/2023
1.0.1 149 5/6/2023
1.0.0 134 5/5/2023
1.0.0-alpha2 96 5/5/2023
1.0.0-alpha 128 5/5/2023