Introducing Async/Await, Task Groups & Actors
Kodeco Team, Marin Todorov

#Swift
#async
#concurrency
#macOS
#Xcode
Learn Modern Swift Concurrency!
For years, writing powerful and safe concurrent apps with Swift could easily turn into a daunting task, full of race conditions and unexplained crashes hidden in a massive nesting of callback closures.
In Swift 5.5, Apple introduced a new concurrency model featuring the async/await syntax, which lets you write asynchronous code that reads like synchronous code. But like any new feature, here be dragons! So how will you achieve the much-desired mastery of modern Swift concurrency?
Modern Concurrency in Swift comes to the rescue, showcasing what you need to know about async/await, tasks, actors and everything in between!
Who This Book Is For
This book is for intermediate Swift developers who are familiar with writing asynchronous applications and who want to leverage the concurrency features Apple introduced in Swift 5.5 and its evolution throughout the years, to write safer and more predictable asynchronous apps.
Topics Covered in Modern Concurrency in Swift
One thing you can count on: After reading this book, you’ll be prepared to leverage Swift's new concurrency features in your app to write safe, performant and predictable asynchronous code.
Table of Contents
Chapter 1: Why Modern Swift Concurrency?
Chapter 2: Getting Started With async/await
Chapter 3: AsyncSequence & Intermediate Task
Chapter 4: Custom Asynchronous Sequences With AsyncStream
Chapter 5: Intermediate async/await & CheckedContinuation
Chapter 6: Testing Asynchronous Code
Chapter 7: Concurrent Code With TaskGroup
Chapter 8: Getting Started With Actors
Chapter 9: Global Actors
Chapter 10: Actors in a Distributed Syste
About the Author
Marin Todorov is a Software developer for 20+ years. Exclusively on platforms since 2009. Worked for companies like Apple, Realm, Roche, and more. Currently Principal iOS at Roche.









