ApplicationIsolateServer constructor

ApplicationIsolateServer(
  1. ApplicationServer server,
  2. SendPort sendPort
)

Implementation

ApplicationIsolateServer(this.server, this.sendPort)
    : receivePort = ReceivePort(),
      messageHub = IsolateMessageHub(sendPort) {
  receivePort.listen(listener);
  logger?.fine('$isolateName listening, sending port.');
  sendPort.send(receivePort.sendPort);
}