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.
1 parent 0b976f9 commit d1b4993Copy full SHA for d1b4993
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