Skip to content

Commit

Permalink
Clarify that .retry is user-defined (#1347)
Browse files Browse the repository at this point in the history
* Clarify that `.retry` is user-defined

* Use jsDoc comment instead (consistency with #1064)
  • Loading branch information
Ace Nassri authored Jun 7, 2019
1 parent 6e57071 commit 6dee350
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/node8/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ exports.avoidInfiniteRetries = (data, context) => {
* how to toggle retries using a promise
*
* @param {object} data The event payload.
* @param {object} data.retry User-supplied parameter that tells the function whether to retry.
* @param {object} context The event metadata.
*/
exports.retryPromise = (data, context) => {
Expand Down

0 comments on commit 6dee350

Please sign in to comment.