WorkQueueEnqueueTResult Method (FuncTResult) | |
Enqueues function.
Namespace: Lawo.Threading.TasksAssembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax public Task<TResult> Enqueue<TResult>(
Func<TResult> function
)
Parameters
- function
- Type: SystemFuncTResult
Type Parameters
- TResult
- The type of the result returned by function.
Return Value
Type:
TaskTResultA task that represents the execution of
function.
Exceptions Remarks function is executed on an arbitrary thread pool thread.
See Also