Click or drag to resize
TaskQueueEnqueue Method (FuncTask)
Enqueues function.

Namespace: Lawo.Threading.Tasks
Assembly: Lawo (in Lawo.dll) Version: 1.4.1707.27006
Syntax
C#
public Task Enqueue(
	Func<Task> function
)

Parameters

function
Type: SystemFuncTask

Return Value

Type: Task
A Task object that represents a proxy for the Task returned by function.
Exceptions
ExceptionCondition
ArgumentNullExceptionfunction equals null.
Remarks
function is executed on the calling thread.
See Also