typescript-retry-decorator icon indicating copy to clipboard operation
typescript-retry-decorator copied to clipboard

lightweight typescript retry decorator with 0 dependency.

Results 7 typescript-retry-decorator issues
Sort by recently updated
recently updated
newest added

- implement throw error with the original error - add the option reraise error to rethrow the original error when it's reached max attempts

I know the original error _message_ is included when retries are exhausted, but it would be great to have the option to bubble up the original error instance itself stack...

It would be helpful to have the ability to handle what gets thrown in the end, in case there is a need to remap the error to something else. I...

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.18.2 to 7.23.2. Release notes Sourced from @​babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...

dependencies

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @​mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @​OlafConijn in...

dependencies

ES decorator proposal was updated to Stage-3 with a different internal API https://medium.com/@aude.lellouche/typescript-decorators-stage-3-technical-challenges-and-tips-for-overcoming-them-8deed94a3de7 To my understanding, the library is based on Stage-2 and using it with Stage-3 (TS5+ without `"experimentalDecorators":...

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...

dependencies