Delegate

abstract fun <T : Any> Delegate(    type: TypeToken<out T>,     tag: Any? = null,     overrides: Boolean? = null): DI.Builder.DelegateBinder<T>

Create a delegate binding to a given bound type with a given tag.

Return

The binder: call TypeBinder.with) on it to finish the binding syntax and register the binding.

Parameters

T

The type of value to bind.

type

The bound type to delegate to.

tag

The tag to bind.

overrides

Whether this bind must or must not override an existing binding.