Skip to content

Conversation

@superbrobenji
Copy link
Owner

BREAKING CHANGES:

  • .add method changed params to (fn, callback, error callback) for more compatibility with promises
  • To use timeout ability, fn must have a signal param passed to the promise.
    There is an Abort controller for handling abort signals in your promise but not required.

Changes:

  • Split out assertions to their own files.
  • Split rety system to it's own engine.
  • Added abort ability to timeout.
  • Added an abortHandler to use for handling abort signals in your promise.
  • Refactored tests to be more clear what we're testing.
  • Added the ability to configure retries and timeout in the constructor as well.

updated engine in package, as well as fixed a typo
- changed .add method to follow standard pattern for res and err
  callbacks to make it easier for promise patterns.
- changed constructor to be able to set timeouts and retries in the
  constructor
- split out the timeout logic and retry logic to seperate engines
@superbrobenji superbrobenji added the major For pr to version bump a major version label Nov 26, 2024
@github-actions
Copy link

Please set a versioning label of either major, minor, or patch to the pull request.

@superbrobenji superbrobenji merged commit 5238069 into main Nov 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major For pr to version bump a major version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants