Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 3f5995a

Browse files
committed
Fix helper docs
1 parent 9ba05bd commit 3f5995a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/helper.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ export const poll = async (api, interval = RETRY_DELAY, retries = Infinity) => {
276276
* utility will resolve with the return value if the api resolves. Errors
277277
* thrown by the api are swallowed by this utility and another retry is triggered.
278278
* @param {Function} api The api wrapped in an asynchronous function
279+
* @param {number} interval The time interval to wait between retries
279280
* @param {number} retries The number of retries to be sent to the api
280281
* @return {Promise<Object>} The return value of the api
281282
*/

0 commit comments

Comments
 (0)