bind Instance
inline fun <T : Any> DI.Builder.bindInstance(tag: Any? = null, overrides: Boolean? = null, creator: () -> T)
Content copied to clipboard
Binds an instance provider: will always return the given instance.
T generics will be erased!
Parameters
T
The type of the instance.
creator
A function that must the instance of type T.