We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e09c779 + d1b4993 commit da3c229Copy full SHA for da3c229
Microsoft.Toolkit.Uwp/Extensions/DispatcherQueueTimerExtensions.cs
@@ -27,7 +27,7 @@ public static class DispatcherQueueTimerExtensions
27
/// <param name="immediate">Determines if the action execute on the leading edge instead of trailing edge.</param>
28
/// <example>
29
/// <code>
30
- /// private DispatcherQueueTimer _typeTimer = new DispatcherQueueTimer();
+ /// private DispatcherQueueTimer _typeTimer = DispatcherQueue.GetForCurrentThread().CreateTimer();
31
///
32
/// _typeTimer.Debounce(async () =>
33
/// {
0 commit comments