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

Commit 3b3de3f

Browse files
btellescaitp
authored andcommitted
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 eec78e7 commit 3b3de3f

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
* [The CommonJS Promise proposal](http://wiki.commonjs.org/wiki/Promises) describes a promise as an
1216
* interface for interacting with an object that represents the result of an action that is

0 commit comments

Comments
 (0)