using System;
using System.Threading.Tasks;

namespace Tornado3_2026Election.Common;

public static class UiDispatcher
{
    public static void Initialize(object? dispatcherQueue)
    {
    }

    public static void Enqueue(Action action)
    {
        action();
    }

    public static Task EnqueueAsync(Action action)
    {
        action();
        return Task.CompletedTask;
    }
}
