PleaseWait 2.0.0

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

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

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.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 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.7.0 3,035 7/12/2024
2.6.0 669 4/8/2024
2.5.0 615 1/5/2024
2.4.1 385 11/21/2023
2.4.0 130 11/20/2023
2.3.3 320 6/20/2023
2.3.2 148 5/26/2023
2.3.1 146 5/26/2023
2.3.0 163 5/25/2023
2.2.0 160 5/25/2023
2.1.1 146 5/23/2023
2.1.0 141 5/23/2023
2.0.0 168 5/19/2023
2.0.0-alpha2 136 5/19/2023
2.0.0-alpha 138 5/19/2023
1.0.3 177 5/11/2023
1.0.2 190 5/8/2023
1.0.1 176 5/6/2023
1.0.0 179 5/5/2023
1.0.0-alpha2 107 5/5/2023
1.0.0-alpha 149 5/5/2023