Skip to main content
ObviousAwait package icon

ObviousAwait

ConfigureAwait(true) and ConfigureAwait(false) are very important when dealing with asynchronous code. However, they make code hard to read and easy to fail. ObviousAwait introduces two aliases: KeepContext() and FreeContext(), reducing the cognitive load while reading and writing asynchronous code.

Total Downloads
208.5K
208,457
Published
Jun 11, 2023
Latest stable version

Install

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

Frameworks

.NETStandard1.0 .NETStandard2.1

Dependencies

NETStandard.Library
.NETStandard1.0
[1.6.1, )

Adoption guide

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

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 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.