TaskCompletionSourceFactoryCreateNewT Method

Creates a new instance of the TaskCompletionSourceTResult class.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.160 -- Release Build+5c02decbb6aa321138caaadf548ee87ad464d811
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