TryIt offers a simple, fluent way to try/retry actions, methods and tasks. You can pause between retries using one of the built-in delay policies or create your own.
You can also add error and success policies to fine tune your control of the process.
**Warning** Versions 2.0.0 and above have several breaking changes with previous versions. See the documentation for details.
Install-Package yozepi.Tryit -Version 220.127.116.110101
dotnet add package yozepi.Tryit --version 18.104.22.1680101
<PackageReference Include="yozepi.Tryit" Version="22.214.171.1240101" />
paket add yozepi.Tryit --version 126.96.36.1990101
2.0.1 - Add new extension methods for basic, backoff Fibonacci and no delay.
2.0.0 - Rewrite of most of the code to improve performance and to simplify use.
1.2.1 - Rebuilt package as a PCL. Package now targets .Net Framework 4.5, .Net core, Windows 8, Windows Phone 8.1, Windows Phone Silverlight 8, Xamarin.Android, Xamarin.iOS, Xamarin.iOS (classic).
1.2.0 - Added a Fibonacci delay.
1.1.0 - Added the ability to cancel trying with a CancellationToken. Improved Task processing.
This package has no dependencies.
This package is not used by any popular GitHub repositories.