ForScope
A common Qualifier to indicate a binding is only for a specific scope. This is useful for bindings that exist in multiple scoped and you want to disambiguate them from each other.
@DependencyGraph(AppScope::class)
interface AppGraph {
@Provides
@ForScope(AppScope::class)
fun provideHttpClient(): HttpClient = ...
}
Content copied to clipboard