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

Explicit multi-message receive #3

Closed
igorw opened this issue Oct 21, 2012 · 0 comments
Closed

Explicit multi-message receive #3

igorw opened this issue Oct 21, 2012 · 0 comments

Comments

@igorw
Copy link
Contributor

igorw commented Oct 21, 2012

Currently there is a single message event. If there is only one message, the emitted value is that value. If on the other hand, it is a multi-part message, then the emitted value is an array of messages.

This is implicit and possibly confusing. It should be changed so that:

  • message is only emitted for single-part messages.
  • messages is emitted for all messages and always emits an array.

Alternative naming might be multi-message, multipart-message or just multipart.

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

No branches or pull requests

1 participant