Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
Ole Begemann
(Uncensored)
subscribe
How the Swift compiler knows that DispatchQueue.main implies @MainActor – Ole Begemann
https://oleb.net/2024/dispatchqueue-mainactor/
links
backlinks
I found the place in the compiler’s source code where it applies a special attribute to DispatchQueue.main.async closures. Plus, a rant about how Xcode presents Swift concurrency context to the programmer.