More work

This commit is contained in:
TheXamlGuy
2024-02-04 14:08:38 +00:00
parent be3fe89387
commit 731cf3cdf3
34 changed files with 381 additions and 177 deletions
+11
View File
@@ -0,0 +1,11 @@
using CommunityToolkit.WinUI;
using Microsoft.UI.Dispatching;
namespace Hyperbar.Windows;
public class Dispatcher(DispatcherQueue dispatcherQueue) :
IDispatcher
{
public async Task InvokeAsync(Action action) =>
await dispatcherQueue.EnqueueAsync(action.Invoke);
}