Table of Contents

Namespace Cuemon.Extensions.Threading.Tasks

Assembly: Cuemon.Extensions.Threading.dll

Control the synchronization context in async task continuations explicitly with ContinueWithCapturedContext (resume on original context) and ContinueWithSuppressedContext (suppress context). Use this namespace when you need predictable async behavior in libraries without manual ConfigureAwait calls. Start with ContinueWithSuppressedContext on Task to avoid deadlocks in synchronous blocking patterns.

Availability: .NET 10, .NET 9 and .NET Standard 2.0

Complements: System.Threading.Tasks namespace 🔗

Extension Members

Type Ext Methods
Task ⬇️ ContinueWithCapturedContext<TResult>, ContinueWithSuppressedContext<TResult>
Task ⬇️ ContinueWithCapturedContext, ContinueWithSuppressedContext

Classes

TaskExtensions

Extension methods for the Task class.