ObviousAwait, ConfigureAwait() done right. NuGet Package

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.




Got any ObviousAwait, ConfigureAwait() done right. Question?





Info

Version: 1.2.0
Author(s): Andreas Wäscher
Last Update: Sunday, June 11, 2023
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/awaescher/ObviousAwait
NuGet Url: https://www.nuget.org/packages/ObviousAwait


Install
Install-Package ObviousAwait
dotnet add package ObviousAwait
paket add ObviousAwait
ObviousAwait Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

13

days-since-last-release

320