public static async void getValue() { while (true) { FirebaseResponse response = await client.GetAsync("screenshot"); string ben = response.ResultAs<string>(); Debug.WriteLine("WTF: " + ben); check = ben; } }