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.worker_isolate; | 5 library fletchc.worker_isolate; |
6 | 6 |
7 import 'dart:async' show | 7 import 'dart:async' show |
8 Completer, | 8 Completer, |
9 EventSink, | 9 EventSink, |
10 Future, | 10 Future, |
11 Stream, | 11 Stream, |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 ..onDone(handleDone); | 167 ..onDone(handleDone); |
168 return taskCompleter.future; | 168 return taskCompleter.future; |
169 } | 169 } |
170 | 170 |
171 void endTask(int exitCode) { | 171 void endTask(int exitCode) { |
172 clientIncoming.close(); | 172 clientIncoming.close(); |
173 commandSender.sendExitCode(exitCode); | 173 commandSender.sendExitCode(exitCode); |
174 commandSender.sendClose(); | 174 commandSender.sendClose(); |
175 } | 175 } |
176 } | 176 } |
OLD | NEW |