Where execution resumes after await
A wait can finish before the timer that writes the note.
your task
Change the wait so the messages appear in this order. “Saving” comes first, then “Store wrote note”, then “Saved”. Keep the timer and all three messages.
The editor waits before it prints “Saved”. A timer prints “Store wrote note”. Before running the starter, predict the message order and identify the line behind each message.
Run code runs your code once for each case. It compares what your code prints with the expected output.
Starter code
or press Ctrl EnterNot run yet
cases
Not run yetA timer writes the note
Expected output
1
Saving2
Store wrote note3
Saved