Created
October 22, 2025 12:27
-
-
Save jacobsapps/c061242d64a3ada43071fd801cf830f7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Task.detached { | |
| print("Running on global actor") | |
| await MainActor.run { | |
| print("Switched to main actor") | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment