Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

feat($q): add Promise.progress shorthand for notifyCallbacks #4501

Closed
wants to merge 1 commit into from

Conversation

cqr
Copy link
Contributor

@cqr cqr commented Oct 17, 2013

Shorthand method for $q promises that allows attaching a progress
callback. Provides the same type of convenience as the existing
catch shorthand method, and matches functionality existing in the Q
library.

This should resolve the only remaining concern addressed in #1998

Closes #1998

Shorthand method for $q promises that allows attaching a progress
callback. Provides the same type of convenience as the existing
catch shorthand method, and matches functionality existing in the Q
library.

This should resolve the only remaining concern addressed in angular#1998

Closes angular#1998
@mary-poppins
Copy link

Thanks for the PR!

  • Contributor signed CLA now or in the past
    • If you just signed, leave a comment here with your real name
  • PR's commit messages follow the commit message format

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

@cqr
Copy link
Contributor Author

cqr commented Oct 18, 2013

Name for the CLA: Chris Rhoden

@petebacondarwin
Copy link
Contributor

We'll see about adding this after 1.2 is released.

@8bitDesigner
Copy link

Oh man, I was just looking for this on the Angular docs today. Is this PR good to merge?

@lgalfaso
Copy link
Contributor

The progress method is is deprecated in Q v2 and is seen as a bad abstraction to handle the progress of a promise. Closing this issue

@lgalfaso lgalfaso closed this Dec 31, 2014
@pkozlowski-opensource
Copy link
Member

+1
Actually I was pondering removal of notification callbacks in 1.4, wdyt @lgalfaso ?

@lgalfaso
Copy link
Contributor

@pkozlowski-opensource removing notification I would say no, but would be ok in deprecating it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use Q transparently over $q if available
7 participants