From c6f57828d7bbdccf3e313d6c545055f8ed78ca4a Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 7 Mar 2025 22:59:27 -0800 Subject: [PATCH] Typo: "2" should be "2 seconds" Remove extraneous "also" in the same paragraph. --- src/ch17-02-concurrency-with-async.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ch17-02-concurrency-with-async.md b/src/ch17-02-concurrency-with-async.md index 7da015cbb..d5bb21ba8 100644 --- a/src/ch17-02-concurrency-with-async.md +++ b/src/ch17-02-concurrency-with-async.md @@ -271,10 +271,10 @@ again, so the runtime pauses it again until another message arrives. The code now successfully sends and receives all of the messages. Unfortunately, there are still a couple of problems. For one thing, the messages do not arrive -at half-second intervals. They arrive all at once, 2 (2,000 milliseconds) after -we start the program. For another, this program also never exits! Instead, it -waits forever for new messages. You will need to shut it down using ctrl-c. +at half-second intervals. They arrive all at once, 2 seconds (2,000 +milliseconds) after we start the program. For another, this program never exits! +Instead, it waits forever for new messages. You will need to shut it down using +ctrl-c. Let’s start by examining why the messages come in all at once after the full delay, rather than coming in with delays between each one. Within a given async