Click or drag to resize
DigitalRuneParallelStartT Method (FuncT)
Creates and starts a task which executes the given function and stores the result for later retrieval.

Namespace: DigitalRune.Threading
Assembly: DigitalRune (in DigitalRune.dll) Version: 1.20.0.0 (1.20.1.14552)
Syntax
public static Task<T> Start<T>(
	Func<T> function
)

Parameters

function
Type: SystemFuncT
The function to execute in parallel.

Type Parameters

T
The type of result.

Return Value

Type: TaskT
A TaskT which stores the result of the function.
Exceptions
ExceptionCondition
ArgumentNullExceptionfunction is .
See Also