android10 / Android-CleanArchitecture-Kotlin

This is a movies sample app in Kotlin, which is part of a serie of blog posts I have written about architecting android application using different approaches.
https://fernandocejas.com/2018/05/07/architecting-android-reloaded/
4.69k stars 935 forks source link

Provide coroutine scope in the run method of UseCase #112

Closed Vixb1122 closed 3 years ago

Vixb1122 commented 3 years ago

Why?

Sometimes it is necessary to start new coroutines in the run function.

How?

Change the run function to an extensions function of CoroutineScope.

Testing?

Right

Screenshots (optional)

Anything Else?