TaskFutureCreateT Method (TaskT) |
Namespace: AccessFlowAssembly: AccessFlow (in AccessFlow.dll) Version: 1.0.0.2 (1.0.0.2)
Syntaxpublic static IFuture<T> Create<T>(
Task<T> task
)
Public Shared Function Create(Of T) (
task As Task(Of T)
) As IFuture(Of T)
public:
generic<typename T>
static IFuture<T>^ Create(
Task<T>^ task
)
static member Create :
task : Task<'T> -> IFuture<'T>
Parameters
- task
- Type: System.Threading.TasksTaskT
The Task to be wrapped.
Type Parameters
- T
-
The type of the value represented by
the result IFutureT and task.
Return Value
Type:
IFutureT
A new
IFutureT wrapping
the
Tasktask.
See Also