Promises is a modern framework that provides a synchronization construct for Swift and Objective-C.
Swift convenience constructor that accepts a work block and eventually resolves the newly created promise with its return value (aka do
operator in Objective-C) is now overloaded and can return another promise, not only a value.
Breaking changes:
any
renamed to race
when
renamed to any
resolve
renamed to wrap