Show / Hide Table of Contents

Class CompletedTask<T, TConstant>

Represents cache of completed tasks.

Inheritance
Object
CompletedTask<T, TConstant>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 Source

Task

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>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX