diff --git a/src/Avalonia.Base/Threading/IDispatcher.cs b/src/Avalonia.Base/Threading/IDispatcher.cs index 8f46f99283..084204dfcd 100644 --- a/src/Avalonia.Base/Threading/IDispatcher.cs +++ b/src/Avalonia.Base/Threading/IDispatcher.cs @@ -20,25 +20,26 @@ namespace Avalonia.Threading void VerifyAccess(); /// - /// Invokes a method on the dispatcher thread. + /// Posts an action that will be invoked on the dispatcher thread. /// /// The method. /// The priority with which to invoke the method. - /// A task that can be used to track the method's execution. void Post(Action action, DispatcherPriority priority = DispatcherPriority.Normal); /// - /// Posts an action that will be invoked on the dispatcher thread. + /// Invokes a action on the dispatcher thread. /// /// The method. /// The priority with which to invoke the method. + /// A task that can be used to track the method's execution. Task InvokeAsync(Action action, DispatcherPriority priority = DispatcherPriority.Normal); /// - /// Posts a function that will be invoked on the dispatcher thread. + /// Invokes a method on the dispatcher thread. /// /// The method. /// The priority with which to invoke the method. + /// A task that can be used to track the method's execution. Task InvokeAsync(Func function, DispatcherPriority priority = DispatcherPriority.Normal); /// @@ -59,4 +60,4 @@ namespace Avalonia.Threading /// A task that represents a proxy for the task returned by . Task InvokeAsync(Func> function, DispatcherPriority priority = DispatcherPriority.Normal); } -} \ No newline at end of file +}