PleaseWait 2.0.0-alpha2

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-alpha2                
NuGet\Install-Package PleaseWait -Version 2.0.0-alpha2                
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-alpha2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PleaseWait --version 2.0.0-alpha2                
#r "nuget: PleaseWait, 2.0.0-alpha2"                
#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-alpha2&prerelease

// Install PleaseWait as a Cake Tool
#tool nuget:?package=PleaseWait&version=2.0.0-alpha2&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.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 1,101 7/12/2024
2.6.0 664 4/8/2024
2.5.0 607 1/5/2024
2.4.1 383 11/21/2023
2.4.0 128 11/20/2023
2.3.3 318 6/20/2023
2.3.2 146 5/26/2023
2.3.1 144 5/26/2023
2.3.0 161 5/25/2023
2.2.0 158 5/25/2023
2.1.1 144 5/23/2023
2.1.0 139 5/23/2023
2.0.0 166 5/19/2023
2.0.0-alpha2 134 5/19/2023
2.0.0-alpha 136 5/19/2023
1.0.3 175 5/11/2023
1.0.2 188 5/8/2023
1.0.1 174 5/6/2023
1.0.0 177 5/5/2023
1.0.0-alpha2 105 5/5/2023
1.0.0-alpha 147 5/5/2023