TaskCompletionSourceFactoryCreateNewT Method

Creates a new instance of the TaskCompletionSourceTResult class.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.128 -- Release Build+d4a9a653be1def5888b9be91bb1825c8655f3529
public static TaskCompletionSource<T> CreateNew<T>()

Type Parameters

T
The type of the result value associated with the TaskCompletionSourceTResult.

Return Value

TaskCompletionSourceT
A new object of type TaskCompletionSourceTResult.

See Also