dart-sdk/tests/isolate/spawn_uri_child_isolate.dart
2012-11-08 18:34:39 +00:00

12 lines
404 B
Dart

// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Child isolate code to be spawned from a URI to this file.
library SpawnUriChildIsolate;
import 'dart:isolate';
void main() {
port.receive((msg, reply) => reply.send('re: $msg'));
}