Bobby Hargett
11/11/2024, 5:05 PM@Module(includes = [IDWGameModule::class])
@ComponentScan("com.xxx.game")
class GameModule {
}
depend on a module defined like this:
val coreModule = module {
@Single
fun scope(): ScopeWrapper = ScopeWrapper(
CoroutineScope(Job() + Dispatchers.Main),
CoroutineScope(Job() + <http://Dispatchers.IO|Dispatchers.IO>),
CoroutineScope(Job() + Dispatchers.Default)
)
}
Pedro Alberto
11/12/2024, 11:07 AMBobby Hargett
11/12/2024, 1:11 PMBobby Hargett
11/12/2024, 1:28 PMPedro Alberto
11/12/2024, 1:36 PMPedro Alberto
11/12/2024, 1:39 PMarnaud.giuliani
11/15/2024, 3:48 PM