Open tak1111 opened 4 years ago
coroutineScope
is used to create a nested scope and connect the two calls (so in case of a failure the other one is automatically canceled). It's useful also to manage the exceptions in the right way, you can find more info in this blog post I wrote
thanks.
in 'WeatherUseCase', 'OpenWeatherTemperatureRepository'
why use 'coroutineScope'??
What happens if you don't use it