AsyncAwaitBestPractices.MVVM 3.0.0

Includes AsyncCommand and IAsyncCommand which allows ICommand to safely be used asynchronously with Task.

There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.5 or higher.

Install-Package AsyncAwaitBestPractices.MVVM -Version 3.0.0
dotnet add package AsyncAwaitBestPractices.MVVM --version 3.0.0
<PackageReference Include="AsyncAwaitBestPractices.MVVM" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AsyncAwaitBestPractices.MVVM --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

New In This Release:
       - Added support for `event Action` and `event Action<T>`
       - Added support for `.SafeFireAndForget<TException>()`
       - Added `SafeFireAndForgetExtensions.SetDefaultExceptionHandling(Action<Exception> onException)` to set a default action for every call to `SafeFireAndForget`
       - Added `SafeFireAndForgetExtensions.Initialize(bool shouldAlwaysRethrowException = false)`. When set to `true` will rethrow every exception caught by `SafeFireAndForget`. Warning: `SafeFireAndForgetExtensions.Initialize(true)` is only recommended for DEBUG environments.
       - Added support for `Exception innerException` to `InvalidCommandParameterException`
       - Breaking Change: Changed default value to `continueOnCapturedContext = false`. This improves performance by not requiring a context switch when `.SafeFireAndForget()` and `IAsyncCommand` have completed.

Showing the top 1 GitHub repositories that depend on AsyncAwaitBestPractices.MVVM:

Repository Stars
xamarin/dev-days-labs

Version History

Version Downloads Last updated
3.1.0-pre5 92 8/20/2019
3.1.0-pre4 33 8/20/2019
3.1.0-pre3 69 8/14/2019
3.1.0-pre2 135 7/31/2019
3.1.0-pre1 48 7/31/2019
3.0.0 529 7/30/2019
3.0.0-pre4 123 7/14/2019
3.0.0-pre3 62 7/7/2019
3.0.0-pre2 96 7/2/2019
3.0.0-pre1 139 6/9/2019
2.1.1 3,595 4/17/2019
2.1.0 2,579 1/12/2019
2.1.0-pre1 393 12/27/2018
2.0.0 221 12/19/2018
1.2.1 132 12/17/2018
1.1.0 105 12/16/2018
1.0.1 131 12/15/2018
1.0.0 269 11/30/2018
0.9.0 282 11/22/2018
Show less