From edf8e6abedcffc3490487ae198056e607a5785d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20S=C3=B8ndergaard?= Date: Sat, 23 Nov 2019 00:48:24 +0100 Subject: [PATCH] Set delay to 2 sec as suggested by the text --- csharp8/ExploreCsharpEight/AsyncStreams.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp8/ExploreCsharpEight/AsyncStreams.cs b/csharp8/ExploreCsharpEight/AsyncStreams.cs index 91e4abe..be85e13 100644 --- a/csharp8/ExploreCsharpEight/AsyncStreams.cs +++ b/csharp8/ExploreCsharpEight/AsyncStreams.cs @@ -13,7 +13,7 @@ internal async IAsyncEnumerable GenerateSequence() { // every 3 elements, wait 2 seconds: if (i % 3 == 0) - await Task.Delay(3000); + await Task.Delay(2000); yield return i; } }