startQuickJsServer function

void startQuickJsServer(
  1. SendPort sendPort
)

Implementation

void startQuickJsServer(SendPort sendPort) async {
  var server = new QuickJsSyncServer();

  server.serve().then((address) {
    sendPort.send(address);
    sendPort.send(server.dispatchSendPort);
  });
}