IDispatcherMessageLoopInvokeAsyncT(FuncT) Method |
Invokes the specified callback on the message loop and returns its result.
Namespace: Altaxo.Main.ServicesAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
SyntaxTask<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
TaskTA task that completes with the value returned by
callback.
See Also