OLD | NEW |
(Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 |
| 6 // Dart isolate's API for the dartc compiler (only used for type checking in the |
| 7 // dart editor, but not for code generation). |
| 8 #library("dart:isolate"); |
| 9 |
| 10 #source("isolate_api.dart"); |
| 11 |
| 12 class _IsolateFactory { |
| 13 |
| 14 factory Isolate2.fromCode(Function topLevelFunction) { |
| 15 throw new NotImplementedException(); |
| 16 } |
| 17 |
| 18 factory Isolate2.fromUri(String uri) { |
| 19 throw new NotImplementedException(); |
| 20 } |
| 21 } |
| 22 |
| 23 class _IsolateNatives { |
| 24 static Future<SendPort> spawn(Isolate isolate, bool isLight) { |
| 25 throw new NotImplementedException(); |
| 26 } |
| 27 } |
| 28 |
| 29 class _ReceivePortFactory { |
| 30 |
| 31 factory ReceivePort() { |
| 32 throw new NotImplementedException(); |
| 33 } |
| 34 |
| 35 factory ReceivePort.singleShot() { |
| 36 throw new NotImplementedException(); |
| 37 } |
| 38 } |
OLD | NEW |