delegate

fun <T> Bindings<T>.delegate(fallback: Bindings<T>): Bindings<T>

Wraps these Bindings to delegate lookup to another instance when lookup on this one fails.

Note that this doesn't modify an existing Bindings but creates a new instance that does delegation.

Parameters

fallback

The bindings to delegate to when lookup fails to find a name.