Skip to content

Commit e062de3

Browse files
explain interceptors quirk
1 parent ca7abde commit e062de3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,10 @@ var apis = {
314314
* of now, we support a request interceptor, allowing you to tweak all of the
315315
* API request options before the HTTP request is sent.
316316
*
317+
* Note: If you are using the `maxApiCalls` option with a method, your request
318+
* interceptor will still be called, even if the `maxApiCalls` limit was
319+
* reached. The request to the API will still be prevented.
320+
*
317321
* See the example below for more.
318322
*
319323
* @alias module:gcloud

0 commit comments

Comments
 (0)