Show / Hide Table of Contents

Class CompletedTask<T, C>

Represents cache of completed tasks.

Inheritance
Object
CompletedTask<T, C>
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 Source

Task

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