You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed a difference in the test code in your project's relevant code repository, regarding the usage of the await keyword. On Youtube video, it's used as follows:
final result = await weatherRemoteDataSourceImpl.getCurrentWeather(testCityName);
However, in the code on GitHub, it's used like this:
final result = weatherRemoteDataSourceImpl.getCurrentWeather(testCityName);
What caused this difference, and what is the implication of this change in the project? Can I get more information on this?
Thank you.
The text was updated successfully, but these errors were encountered:
BekirG
changed the title
Question About Code Differences
Question About Code Difference
Oct 13, 2023
Hello,
I've noticed a difference in the test code in your project's relevant code repository, regarding the usage of the await keyword. On Youtube video, it's used as follows:
final result = await weatherRemoteDataSourceImpl.getCurrentWeather(testCityName);
However, in the code on GitHub, it's used like this:
final result = weatherRemoteDataSourceImpl.getCurrentWeather(testCityName);
What caused this difference, and what is the implication of this change in the project? Can I get more information on this?
Thank you.
The text was updated successfully, but these errors were encountered: