Skip to content

Commit

Permalink
Providing StandardDispatchers
Browse files Browse the repository at this point in the history
  • Loading branch information
philipplackner committed Aug 7, 2023
1 parent b63f20c commit 6af67c4
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
package com.ivy.core.domain.di

import com.ivy.core.domain.pure.util.DispatcherProvider
import com.ivy.core.domain.pure.util.StandardDispatchers
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent

@Module
@InstallIn(SingletonComponent::class)
object DomainModuleDI {

@Provides
fun provideDispatcherProvider(): DispatcherProvider {
return StandardDispatchers()
}
}

0 comments on commit 6af67c4

Please sign in to comment.