Click or drag to resize

IDispatcherMessageLoopInvokeAsyncT(FuncT) Method

Invokes the specified callback on the message loop and returns its result.

Namespace: Altaxo.Main.Services
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
Task<T> InvokeAsync<T>(
	Func<T> callback
)

Parameters

callback  FuncT
The callback to execute.

Type Parameters

T
The type of the result returned by callback.

Return Value

TaskT
A task that completes with the value returned by callback.
See Also