connect method
override
Initializes the connection to cosimulation.
Implementation
@override
Future<CosimConnection> connect() async {
Cosim.generateConnector(directory: directory, enableLogging: enableLogging);
return _connectToCosim(
startCosimProcess,
directory,
throwOnUnexpectedEnd: throwOnUnexpectedEnd,
);
}