Summary
Posts an action that will be invoked on the dispatcher thread.
- Namespace
- Avalonia
.Threading - Containing Type
- IDispatcher
Syntax
Task InvokeAsync(Action action, DispatcherPriority priority = Normal)
Parameters
Name | Type | Description |
---|---|---|
action | Action | The method. |
priority | DispatcherPriority | The priority with which to invoke the method. |
Return Value
Type | Description |
---|---|
Task |