TaskCompletionSourceFactoryCreateNewT Method
Creates a new instance of the TaskCompletionSourceTResult class.
Namespace: Gemstone.ThreadingAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.158 -- Release Build+5f840a50b8123565ea38e0c1d6c00b5650022b4a
public static TaskCompletionSource<T> CreateNew<T>()
Public Shared Function CreateNew(Of T) As TaskCompletionSource(Of T)
public:
generic<typename T>
static TaskCompletionSource<T>^ CreateNew()
JavaScript does not support generic types or methods.
- T
- The type of the result value associated with the TaskCompletionSourceTResult.
TaskCompletionSourceTA new object of type
TaskCompletionSourceTResult.