Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Emit an explicit messages event for multi-part receive
The current behaviour is inconsistent because the message event can be either a single message or in case of a multi-part message, an array. This patch makes an explicit distinction. The message event is used for single part messages, the messages even for multi-part. The messages event is also emitted for single part messages, where the argument is an array of one single element. Closes #3.
- Loading branch information
Showing
4 changed files
with
11 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
CHANGELOG | ||
========= | ||
|
||
* 0.1.1 (2012-11-18) | ||
|
||
* Feature: Emit `messages` instead of `message` for multi-part receive | ||
|
||
* 0.1.0 (2012-10-23) | ||
|
||
* Bug fix: Resolve flaw in reading of edge-triggered events |
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
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