Implementing Concurrency in an Advanced Architecture
summary
Concrete code shows where to start async work: put IO async at the entity gateway and CPU work inside use cases, not sprinkled in views. Compares callbacks via protocols, continuation with closures, GCD/DispatchQueue, OperationQueue, Bright Futures and Rx; explains retain cycles, when the use case must be retained, how to cancel and add dependencies, and tradeoffs (simplicity vs composability). Recommendation: pick one or two approaches and apply them consistently.
AI-written summary · about
chapters (15)
- 0:00Start
- 0:38Agenda
- 1:33Advanced Architecture, Brief
- 2:17Clean Architecture
- 3:59Dependency Inversion Principle
- 5:00Injecting Dependencies
- 8:15Asynchronicity
- 13:27Callbacks
- 15:52Closures
- 18:06Lambdas
- 20:10Async Use Cases with GCD
- 27:19Futures
- 34:02Highlights
- 36:10Rules
- 37:51Recap








