Skip to content

Commit e698441

Browse files
authored
Merge pull request #178440 from juancamilor/patch-1
Replace Thread.Sleep with Task.Delay
2 parents 7770c7a + d1c559a commit e698441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/communication-services/quickstarts/chat/includes/meeting-interop-windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private const string connectionString_ = "";
6363
6464
```csharp
6565
/// <summary>
66-
/// Backgroung task that keeps polling for chat messages while the call connection is stablished
66+
/// Background task that keeps polling for chat messages while the call connection is stablished
6767
/// </summary>
6868
private async Task StartPollingForChatMessages()
6969
{
@@ -110,7 +110,7 @@ private const string connectionString_ = "";
110110
}
111111

112112
await SetInCallState(true);
113-
Thread.Sleep(3000);
113+
await Task.Delay(3000);
114114
}
115115
catch (Exception e)
116116
{

0 commit comments

Comments
 (0)