Skip to main content

Post Method

Posts an action that will be invoked on the dispatcher thread.

Definition

Namespace: Avalonia.Threading
Assembly: Avalonia.Base (in Avalonia.Base.dll)

void Post(
Action action,
DispatcherPriority priority = default
)
View Source

Parameters

  Action
The method.
  DispatcherPriority  (Optional)
The priority with which to invoke the method.

See Also

Reference

IDispatcher Interface
Avalonia.Threading Namespace