Changelog
4.0.0
ToomanyRetries now contains last error. Therefore is is typed with RETURN_TYPE. This can lead to typescript error, hence the major release. There's no other breaking change.
Changelog
3.0.0
retryAsyncDecorator and retryAsync has been move in utils/decorators.
Changelog
2.5.0
Delay option can be a function: therefore del y cn vary between each retry