Extensions for System.Threading.Tasks.Task and System.Threading.Tasks.ValueTask
ConfigureAwaitOptions
SupportIn this release, we add .NET 8.0 as a target framework 🎉
We've also added support to .SafeFireAndForget()
for ConfigureAwaitOptions
:
public static void SafeFireAndForget(this System.Threading.Tasks.Task task, ConfigureAwaitOptions configureAwaitOptions, Action<Exception>? onException = null)
.NET 8.0 Introduces ConfigureAwaitOptions
that allow users to customize the behavior when awaiting:
ConfigureAwaitOptions.None
ConfigureAwaitOptions.SuppressThrowing
ConfigureAwaitOptions.ContinueOnCapturedContext
ConfigureAwaitOptions.ForceYielding
ConfigureAwaitOptions
in .NET 8 by @brminnick in https://github.com/brminnick/AsyncAwaitBestPractices/pull/189
Full Changelog: https://github.com/brminnick/AsyncAwaitBestPractices/compare/v6.0.6...v7.0.0
Full Changelog: https://github.com/brminnick/AsyncAwaitBestPractices/compare/v6.0.5...v6.0.6
net5.0
and net6.0
TFM by @brminnick in https://github.com/brminnick/AsyncAwaitBestPractices/pull/123
Full Changelog: https://github.com/brminnick/AsyncAwaitBestPractices/compare/v6.0.4...v6.0.5
[NotNull]
attribute by @brminnick in https://github.com/brminnick/AsyncAwaitBestPractices/pull/100
Full Changelog: https://github.com/brminnick/AsyncAwaitBestPractices/compare/v6.0.3...v6.0.4
Full Changelog: https://github.com/brminnick/AsyncAwaitBestPractices/compare/v6.0.2...v6.0.3
New In This Release:
New In This Release:
New In This Release:
New In This Release:
New in this Release: