From 6dee350f860e3ad2b1e9430d7fe169ebdb253c81 Mon Sep 17 00:00:00 2001 From: Ace Nassri Date: Fri, 7 Jun 2019 10:12:17 -0700 Subject: [PATCH] Clarify that `.retry` is user-defined (#1347) * Clarify that `.retry` is user-defined * Use jsDoc comment instead (consistency with #1064) --- functions/node8/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/node8/index.js b/functions/node8/index.js index 1501f7f6b7..8a6556831a 100644 --- a/functions/node8/index.js +++ b/functions/node8/index.js @@ -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) => {