Svelte · Senior · Question 15 of 75
Do independent await expressions in markup run sequentially?
<p>{await one(x)}</p>
<p>{await two(y)}</p>- ✓Correct answer: No: independent expressions in markup run in parallel
- 2Yes: always one after another
- 3Only the first one runs
Explanation
Sequential awaits in <script> or inside a function behave like normal JavaScript, so be careful not to create waterfalls there.