This repository contains a variety of examples, each focusing on different aspects of Swift's concurrency features.
These examples are designed to help you understand and utilize Swift's concurrency APIs effectively.
Some of the examples you'll find include:
- Use built in apis like URLSession
- Convert your callbacks (completion handlers) to async-await
- Convert your delegate base components to async-await
- Structured concurrency (Async-let)
- Structured concurrency (Group of tasks)
- Unstructured Tasks
- AsyncStream
- Actors
- Task cancellation
- Reliably Testing
- Xcode 15.0 beta 8 (15A5229m)
Protect mutable state with Swift actors
Explore structured concurrency in Swift
Reliably Testing: https://github.com/pointfreeco/swift-concurrency-extras