5
0
Fork 0

Merge pull request #1 from yyoon/fix-retry-signature

Fix the _retry() method signature to accept an error object
pull/4/head
Steven Roose 2017-04-25 11:00:16 +02:00 committed by GitHub
commit 99b1e81c93
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ class EventSource extends Stream<Event> {
}
/// Retries until a new connection is established. Uses exponential backoff.
Future _retry() async {
Future _retry(dynamic e) async {
_readyState = EventSourceReadyState.CONNECTING;
// try reopening with exponential backoff
Duration backoff = _retryDelay;