OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart 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 file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 // Dart isolate's API for the dartc compiler (only used for type checking in the | 6 // Dart isolate's API for the dartc compiler (only used for type checking in the |
7 // dart editor, but not for code generation). | 7 // dart editor, but not for code generation). |
8 #library("dart:isolate"); | 8 #library("dart:isolate"); |
9 | 9 |
10 #source("isolate_api.dart"); | 10 #source("isolate_api.dart"); |
(...skipping 12 matching lines...) Expand all Loading... |
23 static Future<SendPort> spawn(Isolate isolate, bool isLight) { | 23 static Future<SendPort> spawn(Isolate isolate, bool isLight) { |
24 throw new NotImplementedException(); | 24 throw new NotImplementedException(); |
25 } | 25 } |
26 } | 26 } |
27 | 27 |
28 class _ReceivePortFactory { | 28 class _ReceivePortFactory { |
29 | 29 |
30 factory ReceivePort() { | 30 factory ReceivePort() { |
31 throw new NotImplementedException(); | 31 throw new NotImplementedException(); |
32 } | 32 } |
33 | |
34 factory ReceivePort.singleShot() { | |
35 throw new NotImplementedException(); | |
36 } | |
37 } | 33 } |
OLD | NEW |