mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-22 20:22:18 +08:00
Update ch17-02-concurrency-with-async.md
This commit is contained in:
parent
9c6e06f2ca
commit
474165a10f
@ -130,7 +130,7 @@ hi number 9 from the first task!
|
||||
|
||||
- 去掉一个或者两个循环外的异步代码块。
|
||||
- 在定义两个异步代码块后立刻 await 它们。
|
||||
- 直将第一个循环封装进异步代码块,并在第二个循环体之后 await 作为结果的 future。
|
||||
- 只将第一个循环封装进异步代码块,并在第二个循环体之后 await 作为结果的 future。
|
||||
|
||||
作为额外的挑战,看看你能否在运行代码 *之前* 想出每个情况下的输出!
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user