TaskCompletionSourceFactoryCreateNewT Method

Creates a new instance of the TaskCompletionSourceTResult class.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.137 -- Release Build+241897d8e370542c4e111be073532bb8b8e15519
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