ApplicationIsolateServer constructor
ApplicationIsolateServer(
- ApplicationServer server,
- 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);
}