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

Commit 22ecbc5

Browse files
btellescaitp
authored andcommittedNov 14, 2014
docs($q): explain what the $q service does in description
Explain what the $q service does in description, instead of origin document. The original explanation was less accessible to people new to promises and JS in general. Closes #10056
1 parent 7f857e4 commit 22ecbc5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/ng/q.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@
66
* @requires $rootScope
77
*
88
* @description
9-
* A promise/deferred implementation inspired by [Kris Kowal's Q](https://github.com/kriskowal/q).
9+
* A service that helps you run functions asynchronously, and use their return values (or exceptions)
10+
* when they are done processing.
11+
*
12+
* This is an implementation of promises/deferred objects inspired by
13+
* [Kris Kowal's Q](https://github.com/kriskowal/q).
1014
*
1115
* $q can be used in two fashions --- one which is more similar to Kris Kowal's Q or jQuery's Deferred
1216
* implementations, and the other which resembles ES6 promises to some degree.

0 commit comments

Comments
 (0)
This repository has been archived.