lazyFlatten

Creates and returns a new Provider that lazily maps to the provider that is the value of this.

This function is equivalent to provider.lazyFlatMap { it }.

The returned provider will only be stored in a WeakReference in the parent providers (this and the value of this).


Creates and returns a new Provider that lazily maps to the provider that is the value of this.

This function is equivalent to provider.lazyFlatMapMutable { it }.

The returned provider will only be stored in a WeakReference in the parent providers (this and the value of this).