strongFlatten

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

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


@JvmName(name = "strongFlattenNullable")
fun <R> Provider<Provider<R>?>.strongFlatten(): Provider<R?>

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

This function is equivalent to provider.strongFlatMap { it ?: NULL_PROVIDER }.