WorkQueueEnqueueTResult Method (FuncTResult) |  |
Enqueues function.
Namespace: Lawo.Threading.TasksAssembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntaxpublic 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
Remarksfunction is executed on an arbitrary thread pool thread.
See Also