Replies: 1 comment
-
First, the documentation for CoreDispatcher.RunIdleAsync states that it actually runs things at CoreDispatcherPriority.Low priority. Interestingly, by the description given, this actually seems to be higher priority than DispatcherQueuePriority.Low priority. What's more, the description really makes me feel that CoreDispatcherPriority.Idle priority is equivalent to DispatcherQueuePriority.Low priority. |
Beta Was this translation helpful? Give feedback.
-
In UWP, you could use Dispatcher.RunIdleAsync to run a method at Idle priority. In DispatcherQueue, no such method exists. DispatcherQueue only has TryEnque, which uses DispatcherQueuePriority, which only has 3 possible values; Low, Normal and High - there is no Idle priority, which is lower than the Low priority. Does anyone know if it is possible to run a method on the DispatcherQueue at Idle priority or at least a priority that is lower than the render priority, so that the method runs after all UI has been updated?
Beta Was this translation helpful? Give feedback.
All reactions