IsolateServer constructor

IsolateServer(
  1. Server server,
  2. SendPort sendPort
)

Implementation

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