Merge pull request #1 from yyoon/fix-retry-signature
Fix the _retry() method signature to accept an error objectpull/4/head
commit
99b1e81c93
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue