Dispatcher.

InvokeAsync(Action, DispatcherPriority) Method

Summary

Posts an action that will be invoked on the dispatcher thread.
Namespace
Avalonia.Threading
Containing Type
Dispatcher

Syntax

public 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