Open utterances-bot opened 1 year ago
the @MainActor is the global actor that runs staff on main thread. And we can create custom global actor to implement some other logic, don't we? Or any global actor is about switching current thread? It is not clear for me why wemight need to create other global actor
@MainActor and Global Actors in Swift • Andy Ibanez
https://www.andyibanez.com/posts/mainactor-and-global-actors-in-swift/