File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,10 @@ function shallowClearAndCopy(src, dst) {
150
150
* GET request, otherwise if a cache instance built with
151
151
* {@link ng.$cacheFactory $cacheFactory}, this cache will be used for
152
152
* caching.
153
- * - **`timeout`** – `{number|Promise}` – timeout in milliseconds, or {@link ng.$q promise} that
154
- * should abort the request when resolved.
153
+ * - **`timeout`** – `{number}` – timeout in milliseconds.<br />
154
+ * **Note:** In contrast to {@link ng.$http#usage $http.config}, {@link ng.$q promises} are
155
+ * **not** supported in $resource, because the same value has to be re-used for multiple
156
+ * requests.
155
157
* - **`withCredentials`** - `{boolean}` - whether to set the `withCredentials` flag on the
156
158
* XHR object. See
157
159
* [requests with credentials](https://developer.mozilla.org/en/http_access_control#section_5)
You can’t perform that action at this time.
0 commit comments