Swift Concurrency by Example
By Paul Hudson
Series: Hacking with Swift
Language: English
Category: Ebook - Computer/Internet
Categories: Computer/Internet
Uploader:
Uploaded At: 2022-09-19 17:23:57
swift, concurrency, apple, programming
Description
Swift's powerful and flexible concurrency system includes async/await, tasks, actors, and more, but if you want to unleash its full power it's important you understand all the available choices and what sets them apart.
That's where Swift Concurrency by Example comes in: written as a series of tutorials, Swift Concurrency by Example guides you through dozens of common coding problems with hands-on solutions so you can spend less time wondering how to accomplish tasks and more time building your apps.
What's in the book?
Dozens of common problems are solved in the book, including:
- When to use async/await and when async let works better
- How to call the first async function in your project
- Upgrading your code to concurrency using continuations
- Creating custom async sequences and streams
- Running work in parallel using tasks and task groups
- Sleeping, suspending, and cancelling work
- Actors and actor inference
And more!