TaskSingletonExecuteTResult Method (FuncTaskTResult) |  |
Executes function.
Namespace: Lawo.Threading.TasksAssembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntaxpublic Task<TResult> Execute<TResult>(
Func<Task<TResult>> function
)
Parameters
- function
- Type: SystemFuncTaskTResult
Type Parameters
- TResult
- The type of the result returned by the TaskTResult returned by
function.
Return Value
Type:
TaskTResultThe
TaskTResult object returned by
function.
Exceptions
Remarksfunction is executed on the calling thread.
See Also