Created
June 4, 2021 13:05
-
-
Save manuelvicnt/659134c7cf2d880d5bb6cb7e333287d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Singleton // Scopes this type to the SingletonComponent | |
| class MyRepository @Inject constructor( | |
| private val externalScope: CoroutineScope | |
| ) { | |
| /* ... */ | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment