# IMultiThreadedDispatcherService interface

Marshals work onto the UI thread and awaits its completion, for callers that must know when the UI-thread work has finished.

**Namespace:** [`Eremex.AvaloniaUI.Controls.ApplicationServices`](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/index.md)  
**Assembly:** `Eremex.Common.Contracts.dll`  
**NuGet Package:** [Eremex.Common.Contracts](https://www.nuget.org/packages/Eremex.Common.Contracts)

## Declaration

```csharp
public interface IMultiThreadedDispatcherService
```

## Methods

| name | description |
| --- | --- |
| [InvokeAsync](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/IMultiThreadedDispatcherService/InvokeAsync/index.md)(…) | Runs the action on the UI thread and returns a task that completes when the action has run. |

## See Also

* namespace [Eremex.AvaloniaUI.Controls.ApplicationServices](https://eremexcontrols.net/API/Eremex.AvaloniaUI.Controls.ApplicationServices/index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Common.Contracts.dll -->
