private async void GetTelemetry() { string responseString = await client.GetStringAsync($"{TelemetryURL}/api/simulation/state"); TelemetryData newData = TelemetryData.FromJson(responseString); telemetryDataReceivedEventHandler?.Invoke(this, newData); }