Take a look at the following snippet:
fun requestSongs() {
println("Wait a minute! We are looking for songs...")
}
suspend fun downloadMusic() {
println("Downloading..")
requestSongs()
}
fun main() {
downloadMusic()
// ...
println("Yay, new music")
}
It should download music and wait for some external resource, but the code doesn't work properly. Choose all possible ways how we can improve it.