Class CompletedTask<T, C>
Represents cache of completed tasks.
Namespace: DotNext.Threading.Tasks
Assembly: DotNext.dll
Syntax
public static class CompletedTask<T, C> : object where C : Constant<T>, new()
Type Parameters
Name | Description |
---|---|
T | Type of the task result. |
C | The constant value to be assigned to the completed task. |
Fields
| Improve this Doc View SourceTask
Represents the completed task containing a value passed as constant through C
generic parameter.
Declaration
public static readonly Task<T> Task
Field Value
Type | Description |
---|---|
Task<T> |