delegate
inline fun <T : Any> DI.Builder.delegate(tag: Any? = null, overrides: Boolean? = null): DI.Builder.DelegateBinder<T>
Content copied to clipboard
Delegate the targeted type to a new binding type
Return
The binder: call DI.Builder.DelegateBinder.To) on it to finish the binding syntax and register the binding.
Parameters
tag
The tag to bind.
overrides
Whether this bind must, may or must not override an existing binding.