Summary
Invokes a method on the dispatcher thread.
- Namespace
- Avalonia
.Threading - Containing Type
- IDispatcher
Syntax
void Post(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 |
---|---|
void | A task that can be used to track the method's execution. |