Skip to content

2.0.0 for Pod

Latest
Compare
Choose a tag to compare
@jakehawken jakehawken released this 01 Jan 02:05
· 18 commits to master since this release
1f45a6f
  • Updated Future<T> to Future<T,E> (including strongly-typed error) and did the same to Promise.
  • Added mapping methods mapResult(_:), mapValue(_:), mapError(_:), and flatMap(_:) for mapping the results of these futures.
  • Replaced Concurrency's Result with an extension full of convenience methods on Swift's Result.
  • Added MapError<T,E,Q> type
  • Added then(_:) method for chaining serial futures together.
  • Renamed joining(_:) to zip(_:) and added a firstFinished(from:) method.
  • More comprehensive test coverage.
  • Added extensive documentation to all the public properties and methods on Promise, Future, MapError, their extensions, and the Result extensions.