Last active
February 4, 2022 14:38
-
-
Save SebastianBoldt/e3053cb128d9ed4c60c6db86e15c3dc7 to your computer and use it in GitHub Desktop.
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
Task { | |
await MainActor.run { | |
// .... | |
} | |
} | |
// or | |
Task { @MainActor in | |
// ..... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment