blob: c7817c551d0b7cb98d7312e3387a44ebb09f45c5 [file] [log] [blame]
// Copyright (c) 2013, 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.
// @dart = 2.9
library http_launch_main;
import 'dart:isolate';
import 'dart:io';
main(List<String> arguments) {
int port = int.parse(arguments[0]);
ReceivePort receivePort = new ReceivePort();
['hello'], receivePort.sendPort);
receivePort.first.then((response) {