IMultiThreadedDispatcherService.InvokeAsync method¶
Runs the action on the UI thread and returns a task that completes when the action has run.
Namespace: Eremex.AvaloniaUI.Controls.ApplicationServices
Assembly: Eremex.Common.Contracts.dll
NuGet Package: Eremex.Common.Contracts
Declaration¶
Parameters¶
| name | type | description |
|---|---|---|
| action | Action |
The action to run on the UI thread. |
Returns¶
| type | description |
|---|---|
Task |
A task that completes once the action has finished running. |
See Also¶
- interface IMultiThreadedDispatcherService
- namespace Eremex.AvaloniaUI.Controls.ApplicationServices