OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 library fletchc.fletch_vm; | 5 library fletchc.fletch_vm; |
6 | 6 |
7 // Please keep this file independent of other libraries in this package as we | 7 // Please keep this file independent of other libraries in this package as we |
8 // import this directly into test.dart. | 8 // import this directly into test.dart. |
9 import 'dart:async'; | 9 import 'dart:async'; |
10 import 'dart:convert'; | 10 import 'dart:convert'; |
11 import 'dart:io'; | 11 import 'dart:io'; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 .listen( | 99 .listen( |
100 handleData, | 100 handleData, |
101 onError: controller.addError, | 101 onError: controller.addError, |
102 onDone: () { | 102 onDone: () { |
103 controller.close(); | 103 controller.close(); |
104 doneCompleter.complete(); | 104 doneCompleter.complete(); |
105 }); | 105 }); |
106 return controller.stream; | 106 return controller.stream; |
107 } | 107 } |
108 } | 108 } |
OLD | NEW |