summaryrefslogtreecommitdiff
path: root/lib/retry.js
Commit message (Collapse)AuthorAgeFilesLines
* fix: send proper retry count to retry's interaval func (#1621)Alex Early2019-02-131-1/+1
| | | Closes #1578
* feat: await-able Async methods (#1572)Alex Early2018-09-301-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make each and family awaitable * dont pretend they're AsyncFunctions * check errors * ensure function name is preserved somehow * awaitable concat * awaitable detect * awaitable every/filter * awaitable groupBy * awaitable map/mapValues * awaitable reduce * awaitable reject * awaitable some * awaitable transform * awaitable times * awaitable auto * awaitable compose/seq * awaitable whilst/until (lol) * awaitable forever * awaitable parallel/race * awaitable retry * awaitable series (lol) * awaitable tryEach * awaitable waterfall (lol) * lint * cleanup, remove noop and unused internal functions
* ES6-ify codebase (#1553)Alex Early2018-07-081-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cancelable foreach * cancelable waterfall * cancellable auto * fix lint * fix tests * cancelable whilst/until/during/forever * fix waterfall test. It WILL get there * docs * use rest params instead of slice * clean up internals * remove property func * clarify uses of createTester * happy path async funtions in asyncify * stop using arguments * DLL to class * moar arrows * fix merge issues * remove forOwn * moar arrows * fix merge mistake * even more arrows, what can stop him * mo more fn.apply(null,...) * remove more spurious uses of apply * update lint config * just when you thought there couldn't possibly be more arrows * use eslint:recommended * even less uses or aguments * get rid of prototype cuteness * fix concat tests * fix more tests
* feat: Canceling flows (#1542)Alex Early2018-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cancelable foreach * cancelable waterfall * cancellable auto * fix lint * fix tests * cancelable whilst/until/during/forever * fix waterfall test. It WILL get there * docs * auto should not start other tasks once canceled * simplify waterfall, add test for arrays * simplify eachOf * cancelable retry * cancelable eachOf for arrays * revert test tweak
* Drop constantFederico Brigante2018-04-191-1/+6
|
* Drop noopFederico Brigante2018-04-191-1/+1
|
* clarify retry vs retryable in docs. closes #1450Alexander Early2017-07-161-2/+2
|
* use the AsyncFunction type in all docs :sweat:Alexander Early2017-04-011-7/+5
|
* handle async funcs in control flow methodsAlexander Early2017-03-251-1/+4
|
* fix errorFilter comment to reflect that we only pass err argument. Removed ↵Bojan Djurkovic2016-08-081-1/+1
| | | | setTimeout from retryable tests
* rename the new retry option to errorFilter and consolidate retry attempt ↵Bojan Djurkovic2016-08-041-15/+11
| | | | condition into one statement
* changed the error test function to continueOperation. improved comment ↵Bojan Djurkovic2016-08-031-13/+9
| | | | documentation and fixed code based on PR feedback.
* add filter option to retry() and retryable() to allow for error filtering ↵Bojan Djurkovic2016-08-021-2/+29
| | | | and control of retry flow. Resolves #1256.
* Retry passes all arguments to callbackGraeme Yeates2016-07-121-2/+2
|
* #1226, make retry interval asynchronousasync-retry-intervalGraeme Yeates2016-07-111-34/+10
|
* Genetate import path using jsdoc pluginGraeme Yeates2016-06-291-3/+0
|
* jsdocs: using proxy modules as categories, modifying minami themeHubert Argasinski2016-06-291-1/+4
| | | | | | jsdocs: style fix in outputted html jsdoc: added documentation to support script
* Initial jsdoc documentation (using minami template)Hubert Argasinski2016-06-291-1/+2
|
* fix new lint errorsAlexander Early2016-06-071-8/+8
|
* Remove redundant "use strict" directive as ES2015 modules are implicitly in ↵John-David Dalton2016-05-311-2/+0
| | | | strict mode.
* Add docs for retry interval functionAlex Ianus2016-05-211-2/+14
|
* Style fixesAlex Ianus2016-05-211-12/+5
| | | | Remove extraneous bracket
* Allow custom retry intervalAlex Ianus2016-05-181-8/+18
|
* jsdoc-style documentation for `Control Flow` methodsHubert Argasinski2016-04-121-0/+57
| | | | this should be the last of the public methods requiring documentaiton
* make callback optional in retry, refactor a bitretry-optional-callbackAlexander Early2016-03-071-46/+44
|
* Fix implementations (test green lights)Graeme Yeates2015-12-291-6/+6
|
* [WIP] modularization (#984)Graeme Yeates2015-12-291-0/+77