AsyncExtensions
AsyncExtensions copied to clipboard
Add support for a throwing `onStart` closure in the `AsyncHandleEventsSequence`
Description
This adds support for throwing an error on the first iteration of a sequence, with the onStart closure, propagating the error to the onFinish closure as well.
Checklist
- [x] this PR is based on the main branch and is up-to-date, if not please rebase your branch on the top of main
- [x] the commits inside this PR have explicit commit messages
- [x] unit tests cover the new feature or the bug fix
- [x] the feature is documented in the README.md if it makes sense
- [x] the CHANGELOG is up-to-date