| Index: sdk/lib/isolate/isolate_stream.dart
|
| diff --git a/sdk/lib/isolate/isolate_stream.dart b/sdk/lib/isolate/isolate_stream.dart
|
| index cd6a5b80bf9531e2645099f83c9a67d389585ffc..2641015475408a5e2a2f467b2464b057e3b9d8e9 100644
|
| --- a/sdk/lib/isolate/isolate_stream.dart
|
| +++ b/sdk/lib/isolate/isolate_stream.dart
|
| @@ -91,14 +91,14 @@ class IsolateStream extends Stream<dynamic> {
|
| }
|
| }
|
|
|
| - StreamSubscription<T> subscribe({void onData(T event),
|
| - void onError(AsyncError error),
|
| - void onDone(),
|
| - bool unsubscribeOnError}) {
|
| - return _controller.subscribe(onData: onData,
|
| - onError: onError,
|
| - onDone: onDone,
|
| - unsubscribeOnError: unsubscribeOnError);
|
| + StreamSubscription<T> listen(void onData(T event),
|
| + { void onError(AsyncError error),
|
| + void onDone(),
|
| + bool unsubscribeOnError}) {
|
| + return _controller.listen(onData,
|
| + onError: onError,
|
| + onDone: onDone,
|
| + unsubscribeOnError: unsubscribeOnError);
|
| }
|
|
|
| dynamic _unmangleMessage(var message) {
|
|
|