TaskQueueEnqueueTResult Method (FuncTaskTResult) | |
Enqueues function.
Namespace: Lawo.Threading.TasksAssembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax public Task<TResult> Enqueue<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:
TaskTResultA
TaskTResult object that represents a proxy for the
TaskTResult
returned by
function.
Exceptions Remarks function is executed on the calling thread.
See Also