Favorites
b/truepdfedited 6 months agobyD4rkDeMoN

The Curious Case of the Async Cafe: An Introduction To Modern Concurrency In Swift

The Curious Case of the Async Cafe: An Introduction To Modern Concurrency In Swift

2023 | English | 1944994044 | PDF, EPUB | 574 pages | 20.4 MB

This is it - your introduction to all you need to use async await and friends.

"I laughed, I cried, it moved me - eventually" - a fake Chat Bot review we made up

Swift's solution to asynchronous and concurrent code is now part of the language itself. The new syntax is easier to read and follow the logical flow of what in the past was complicated, fragmented, or deeply nested. With async/await you'll focus on tasks instead of threads or even queues.

"The Curious Case of the Async Cafe" is a quirky fast-paced tour of the components of modern concurrency in Swift including async, await, Tasks, using continuations to replace and wrap delegates and closure-based APIs, AsyncSequences and AsyncStreams, structured concurrency using async let and Task Groups, and, of course, actors.

Updated for Xcode 14 and Swift 5.7 and tested on Apple Silicon.

No comments have been posted yet. Please feel free to comment first!

    Load more replies

    Join the conversation!

    Log in or Sign up
    to post a comment.