namespace ZB.MOM.WW.OtOpcUa.Client.UI.Services;

/// <summary>
///     Abstraction for dispatching actions to the UI thread.
/// </summary>
public interface IUiDispatcher
{
    /// <summary>
    ///     Posts an action to be executed on the UI thread.
    /// </summary>
    /// <param name="action">The action to execute on the UI thread.</param>
    void Post(Action action);
}