YUNOVA · iOS Development · Module 8: Advanced SwiftUI
Swift concurrency: actors and tasks
Swift concurrency: actors and tasks
Key points
- async/await lets code wait for results without blocking a thread.
- A Task starts asynchronous work; a TaskGroup runs several child tasks.
- Actors protect mutable state so only one task touches it at a time.