TaskCompletionSourceFactoryCreateNewT Method

Creates a new instance of the TaskCompletionSourceTResult class.

Definition

Namespace: Gemstone.Threading
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.150 -- Release Build+058518a49b1370d27547de9971386266c9284ccd
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