-
This exercise calls for you to write some async flow-control code to more properly handle the provided callback mess as shown in "ex5.js".
-
Expected behavior:
- Request all 3 files at the same time (in "parallel").
- Render them ASAP (don't just blindly wait for all to finish loading)
- BUT, render them in proper (obvious) order: "file1", "file2", "file3".
- After all 3 are done, output "Complete!".
-
Use either native promises, the asynquence lib (provided), or your own favorite async/promises library/utility.
ex5
Directory actions
More options
Directory actions
More options
ex5
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||