Skip to content

Conversation

@inamiy
Copy link
Member

@inamiy inamiy commented Nov 18, 2014

This pull request is a breaking change from ver 1.0.0 (361fba6)
which will improve Swift's type-inference by adding success() method
to reduce too many overloads on then() method.

Ver 2.0.0 Changelog (2014/11/18)

  • 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

inamiy added a commit that referenced this pull request Nov 18, 2014
Ver 2.0.0: Rename then/catch to then/success/failure.
@inamiy inamiy merged commit fa5881d into master Nov 18, 2014
@inamiy inamiy deleted the refactor branch November 18, 2014 12:42
inamiy added a commit that referenced this pull request Nov 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants