Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit c89e212

Browse files
authored
Set delay to 2 sec as suggested by the text (#45)
1 parent 90907c3 commit c89e212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp8/ExploreCsharpEight/AsyncStreams.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ internal async IAsyncEnumerable<int> GenerateSequence()
1313
{
1414
// every 3 elements, wait 2 seconds:
1515
if (i % 3 == 0)
16-
await Task.Delay(3000);
16+
await Task.Delay(2000);
1717
yield return i;
1818
}
1919
}

0 commit comments

Comments
 (0)