Click or drag to resize
TaskFutureCreateT Method (TaskCompletionSourceT)

Namespace: AccessFlow
Assembly: AccessFlow (in AccessFlow.dll) Version: 1.0.0.2 (1.0.0.2)
Syntax
public static IFuture<T> Create<T>(
	TaskCompletionSource<T> tcs
)

Parameters

tcs
Type: System.Threading.TasksTaskCompletionSourceT
The TaskCompletionSourceTResult whose Task shall be wrapped.

Type Parameters

T
The type of the value represented by the result IFutureT and the Task of tcs.

Return Value

Type: IFutureT
A new IFutureT wrapping the Task of tcs.
See Also