Class CompletedTask<T, TConstant>
Represents cache of completed tasks.
Inherited Members
Namespace: DotNext.Threading.Tasks
Assembly: DotNext.dll
Syntax
public static class CompletedTask<T, TConstant>
where TConstant : Constant<T>, new()
Type Parameters
Name | Description |
---|---|
T | Type of the task result. |
TConstant | 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 TConstant
generic parameter.
Declaration
public static readonly Task<T> Task
Field Value
Type | Description |
---|---|
Task<T> |