跳转至

Conclusion

You’ve made it! You should be super proud of yourself for completing this book. Concurrency can be a challenging topic to master, but that just makes your achievement that much sweeter. With your newly acquired knowledge, you are well poised to move on to trying some of Swift’s new concurrency features in the real world.

As you start incorporating async/await into your app and leveraging the powerful modern concurrency features Swift offers, like tasks and actors, your app will become safer and more predictable when it reads and mutates your data concurrently. It will also become safer to reason about, because your code will “read synchronously” but run asynchronously.

We hope the concepts you’ve learned in this book helped you think differently about how to plan concurrent and parallel code in the modern world, while still keeping your sanity.

If you’ve enjoyed learning about the new modern concurrency features, you might also enjoy our book Combine: Asynchronous Programming with Swift. It showcases another modern variation for modeling and composing asynchronous work.

If you have any questions or comments as you work through this book, please stop by our forums at https://forums.raywenderlich.com and look for the particular forum category for this book.

Thank you again for purchasing this book. Your continued support is what makes the books, tutorials, videos and other things we do at raywenderlich.com possible. We truly appreciate it!

– The Modern Concurrency in Swift team