UNPKG

povtor

Version:

Repeat function call depending on the previous call result and specified conditions.

8 lines (6 loc) 313 B
### 1.1.0 / 2020-03-15 * add `timeLimit` setting * add support for function value for `retryAttempts` and `retryTimeout` settings * add `isError`, `result`, `settings` and `startTime` fields to `RetryResult` * pass `RetryResult` as second parameter for `retryOnError` and `retryTest` functions * add docs