stevenroose / dart-eventsource

A client and server implementation of Server-Side Events.
MIT License
56 stars 49 forks source link

Fix the _retry() method signature to accept an error object #1

Closed yyoon closed 7 years ago

yyoon commented 7 years ago

The onError handler passed to the Stream's listen method is expected to take an error argument.

stevenroose commented 7 years ago

Thanks a lot!

stevenroose commented 7 years ago

I also pushed a version bump to pub.

yyoon commented 7 years ago

Great! Thanks for the quick merge.