Skip to main content
AsyncAwaitBestPractices package icon

AsyncAwaitBestPractices

Extensions for System.Threading.Tasks Includes extension methods to safely fire-and-forget a Task and/or a ValueTask Includes WeakEventManger which avoids memory leaks when events are not unsubscribed

Total Downloads
6.7M
6,699,776
Published
Sep 17, 2020
Latest stable version

Install

.NET CLI
dotnet add package AsyncAwaitBestPractices --version 5.0.0-pre2
Package Manager Console
Install-Package AsyncAwaitBestPractices -Version 5.0.0-pre2
PackageReference
<PackageReference Include="AsyncAwaitBestPractices" Version="5.0.0-pre2" />

Frameworks

.NETStandard1.0 .NETStandard2.0 .NETStandard2.1

Dependencies

[4.7.0, )
[4.5.4, )
System.ValueTuple
.NETStandard1.0
[4.5.0, )
[4.7.0, )
[4.5.4, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.