This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Q resolve outside of $digest #2881
Closed
Description
I have a lot of code in services that use Q promises for async stuff. I can't use $q because it only resolves in a $digest cycle. I really don't want to include 2 copies of the Q library but, by the looks of it, I have to.
I don't know if this has been discussed, but could there be another method added to deferreds? Something like deferred.resolveNow(/* stuff */)
which doesn't use nextTick
Metadata
Metadata
Assignees
Labels
No labels