-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Action before and after subscribers (#1115)
* allow action subscribers to specify before/after hooks (#1098) Action subscribers are called before the action by default. This allows them to specify before and after subscribers where the after subscriber is called when the action resolves * add test cases for the new before/after action subscribers (#1098) make sure that the before subscriber is called before the action, while the after subscriber is called after it resolves * Replace Promise initialization with shorter form (#1098) * Update subscribeAction type declaration and add type tests (#1098) Generalize subscribeAction's type declaration to accept both a function or an object and add type tests for that
- Loading branch information
Showing
4 changed files
with
85 additions
and
7 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