Async let execution order #11
Replies: 1 comment
-
@ovmarchenko thanks a lot for your feedback! The lesson also mentions
That explains that indeed the print statements are in different order.
You're completely right here! If we care about order of execution, we must await them sequentially. I've updated the question in the quiz accordingly: ![]() And also updated the contents of the lesson to state:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The lesson _ Calling async functions in parallel using async let _ says that
the requests are fired in the order of definition
but the print statements are in different order.
Also the quiz at the end of the module asks about async let order of execution but what does order of execution even mean?
Doesn’t async let schedule parallel tasks and it is undefined which task will execute its code first?
Beta Was this translation helpful? Give feedback.
All reactions