dart-sdk/tests/isolate/spawn_uri_child_isolate.dart
2016-11-15 13:19:29 +01:00

12 lines
402 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;
void main(List<String> args, replyTo) {
var data = args[0];
replyTo.send('re: $data');
}