From e139f38eae088b5806261161d535021131410dbf Mon Sep 17 00:00:00 2001 From: NBTX Date: Wed, 24 Oct 2018 20:34:51 +0100 Subject: [PATCH] Fix typedef error --- lib/src/decoder.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/decoder.dart b/lib/src/decoder.dart index b3d8281..4f14496 100644 --- a/lib/src/decoder.dart +++ b/lib/src/decoder.dart @@ -5,7 +5,7 @@ import "dart:convert"; import "event.dart"; -typedef void RetryIndicator(Duration); +typedef RetryIndicator = void Function(Duration retry); class EventSourceDecoder implements StreamTransformer, Event> { RetryIndicator retryIndicator;