-
-
Save haikieu/61e7c52e92e3e045e079ff8c3a1a47ec to your computer and use it in GitHub Desktop.
Non-Sequential-Execution
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print("Task 1") | |
DispatchQueue.main { | |
print("Task 2") | |
} | |
print("Task 3") | |
//What is the output? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment