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

Allow to map callable object as a subscriber #70

Closed
davydovanton opened this issue Mar 30, 2018 · 0 comments
Closed

Allow to map callable object as a subscriber #70

davydovanton opened this issue Mar 30, 2018 · 0 comments
Assignees
Milestone

Comments

@davydovanton
Copy link
Member

Something like this:

events = Hanami::Events.initialize(:memory_sync)
events.subscribe('*', Container['operation.create'])
@davydovanton davydovanton self-assigned this Mar 30, 2018
@davydovanton davydovanton added this to the v0.2 milestone Apr 18, 2018
@davydovanton davydovanton changed the title Allow to map container value as a subscriber Allow to map callable object as a subscriber Apr 18, 2018
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