gotcha Task with @MainActor gotcha in Swift While working on a codebase with a mix of structured concurrency and good old DispatchQueues I stu…