Skip to content

Conversation

@clue
Copy link
Owner

@clue clue commented Sep 19, 2017

The data event is underdocumented for the most part and has attracted some low quality code in the past. It used to be more of a poor attempt to make the Client behave like a ReadableStreamInterface which doesn't make much sense for the rest of the interface anyway.

As such, this PR simply removes the data event, which makes the interface more consistent. Removing unneeded events also has a noticeable effect on performance.

@clue clue added this to the v2.0.0 milestone Sep 19, 2017
@clue clue merged commit 2dfe566 into clue:master Sep 19, 2017
@clue clue deleted the data branch September 19, 2017 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant