-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to specify event type resolver for subscriptions
Make implicit explicit. Type resolver is reponsible for converting event type from anything (class, string, etc) to event type (string preffered here). Default implementation (backward compatible) is just lambda using to_s method to convert event type given as class or string to string.
- Loading branch information
1 parent
e272342
commit 094e771
Showing
2 changed files
with
42 additions
and
9 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