Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listen to multiple events using wildcard in event handler type. #8

Open
guilhermelimak opened this issue Feb 13, 2017 · 0 comments
Open

Comments

@guilhermelimak
Copy link
Owner

guilhermelimak commented Feb 13, 2017

The user should be able to listen to more than one event using a wildcard.

The type field in the handler object could contain the '*' to match any character from that point on. E.g. a listener using 'message*' type should match events like 'message:received', 'message:sent', 'message'.

The documentation on event handlers should be updated (or created if needed) to conform to this changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant