Dispatches the given task to the target Dispatcher (default: the main Dispatcher).

Namespace: UnityThreading
Assembly: UnityThreading (in UnityThreading.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public Task Dispatch(
	Task taskBase
)
Visual Basic
Public Function Dispatch ( _
	taskBase As Task _
) As Task
Visual C++
public:
Task^ Dispatch(
	Task^ taskBase
)

Parameters

taskBase
Type: UnityThreading..::..Task
The task to process at the dispatchers thread.

Return Value

The new task.

See Also