Skip to content

2.0.0

Compare
Choose a tag to compare
@inamiy inamiy released this 19 Nov 23:29
· 209 commits to swift/4.0 since this release

Ver 2.0.0 improves Swift's type-inference by adding success() method
to reduce too many overloads on then() method.

  • task.progress()'s progressClosure type changed from Progress -> Void to (oldProgress: Progress?, newProgress: Progress) -> Void
  • task.then(fulfilledClosure) is renamed to task.success()
  • task.catch(catchClosure) is renamed to task.failure()
  • task.then() is no longer used for fulfilled-only handling

See #8 for more information.