What needs to happen?
Add typing to the params accepted by createSimulatorConnection and the constructors of the ISimulator instances. Decide how these params should relate to the arguments passed to changeFile.
// TODO: refine this as part of the public API for initializing the // controller with a simulator connection interface SimulatorConnectionParams { netConnectionSettings?: NetConnectionParams; clientSimulator?: IClientSimulatorImpl; simulariumFile?: ISimulariumFile; geoAssets?: { [key: string]: string }; requestJson?: boolean; }
public changeFile( connectionParams: SimulatorConnectionParams, // TODO: push newFileName into connectionParams newFileName: string, keepRemoteConnection = false ): Promise<FileReturn> {
Why should we do this?
When does this need to get done?
What needs to happen?
Add typing to the params accepted by
createSimulatorConnectionand the constructors of theISimulatorinstances. Decide how these params should relate to the arguments passed tochangeFile.// TODO: refine this as part of the public API for initializing the // controller with a simulator connection interface SimulatorConnectionParams { netConnectionSettings?: NetConnectionParams; clientSimulator?: IClientSimulatorImpl; simulariumFile?: ISimulariumFile; geoAssets?: { [key: string]: string }; requestJson?: boolean; }public changeFile( connectionParams: SimulatorConnectionParams, // TODO: push newFileName into connectionParams newFileName: string, keepRemoteConnection = false ): Promise<FileReturn> {Why should we do this?
When does this need to get done?