Click or drag to resize

ApplicationInvokeAsyncT Method (FuncT)

Invokes the specified function on the UI thread asynchronously and return the result in a Task.

Namespace:  Eto.Forms
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public Task<T> InvokeAsync<T>(
	Func<T> func
)

Parameters

func
Type: SystemFuncT
Function to execute and return the value.

Type Parameters

T
The type of the result.

Return Value

Type: TaskT
The task that returns the result of the function.
See Also