-
Notifications
You must be signed in to change notification settings - Fork 11.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The whole concept of event priorities doesn’t make sense as a concept and can’t even be trusted as an end user because you are relying on the exact order of listeners. Priority also makes no sense in modern apps where many events may be queued. Can be implemented as a synchronous pipeline. Also removed halting events as this suffers from same problem of relying on the exact order and implementation of your events, depending on no handlers being queued, etc. Should use other pattern when this is needed.
- Loading branch information
1 parent
0f76617
commit dbbfc62
Showing
5 changed files
with
59 additions
and
179 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
Oops, something went wrong.