Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow using objects as hooks to change execution order (#4600)
* Improve type for async hooks * Support object hooks * Support changing hook execution order * Add caching * Change naming to "handler/order" and include parallel hooks * Support object form for banner/footer/intro/outro * Allow object form for addon hooks * Improve coverage * Allow odering for sync hooks * Add support for making async parallel hooks sequential * Change parallel behaviour to not change order * Also allow to make banner/footer/intro/outro parallel * Add documentation * Fix types * Make tests more stable
- Loading branch information
1 parent
1165d46
commit 8db7fd8
Showing
20 changed files
with
937 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.