mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-06 12:45:32 +00:00
Fix typo: at a time instead of at time
This commit is contained in:
parent
8fea050099
commit
2e8c579218
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ handle.await?
|
|||
The `.await` waits until the client finishes, and `?` propagates the result.
|
||||
|
||||
There are two problems with this solution however!
|
||||
*First*, because we immediately await the client, we can only handle one client at time, and that completely defeats the purpose of async!
|
||||
*First*, because we immediately await the client, we can only handle one client at a time, and that completely defeats the purpose of async!
|
||||
*Second*, if a client encounters an IO error, the whole server immediately exits.
|
||||
That is, a flaky internet connection of one peer brings down the whole chat room!
|
||||
|
||||
|
|
Loading…
Reference in a new issue