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

Change Event.Next to send data as Event.Success if last handler #12

Open
jpwilliams opened this issue Feb 6, 2017 · 0 comments
Open
Assignees
Milestone

Comments

@jpwilliams
Copy link
Owner

Currently, performing event.Next <- true on the last handler in a chain will treat the message as a success but will not send any data that's been passed, meaning event.Success must be used on the last handler.

WARNING We can't change Event.Next to always send data back as there may well be another handler in the chain. Maybe we could detect this and, if it's the last, return data.

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