withFallback

open fun withFallback(fallback: Source): Source

Returns a source backing by specified fallback source.

When config fails to retrieve values from this source, it will try to retrieve them from fallback source.

Return

a source backing by specified fallback source

Parameters

fallback

fallback source

Sources

jvm source
Link copied to clipboard