Under the hood of Futures & Promises in Swift

Asynchronous code can be difficult to implement correctly. In this post, John Sundell looks at one abstraction which aims to make asynchronous programming easier - Futures and Promises. This is a good look at what futures and promises are, and John provides a sample implementation to help us understand how they work.