MCPcopy Create free account
hub / github.com/TranslucentTB/TranslucentTB / DispatchToMainThread

Method DispatchToMainThread

TranslucentTB/application.hpp:69–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 }
68
69 winrt::fire_and_forget DispatchToMainThread(winrt::Windows::System::DispatcherQueueHandler callback,
70 winrt::Windows::System::DispatcherQueuePriority priority = winrt::Windows::System::DispatcherQueuePriority::Normal)
71 {
72 co_await wil::resume_foreground(m_Dispatcher, priority);
73 callback();
74 }
75
76 bool BringWelcomeToFront() noexcept;
77};

Callers 1

ColorRequestedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected