Class TaskExtensions
Provides access to extension methods for Task.
Inherited Members
Namespace: Evergine.Framework.Extensions
Assembly: Evergine.Framework.dll
Syntax
public static class TaskExtensions
Methods
IgnoreCancellation(Task)
Prevents TaskCanceledException or OperationCanceledException from trickling up.
Declaration
public static Task IgnoreCancellation(this Task task)
Parameters
Type | Name | Description |
---|---|---|
Task | task | The task to ignore exceptions for. |
Returns
Type | Description |
---|---|
Task | A wrapping task for the given task. |