flatMap
inline fun <T, R> Provider<T>.flatMap(crossinline transform: (T) -> Provider<R>): Provider<R>(source)
Lazily maps this Provider's value to another Provider of type R.
inline fun <T, R> SuspendProvider<T>.flatMap(crossinline transform: suspend (T) -> SuspendProvider<R>): SuspendProvider<R>(source)
Returns a provider that passes this provider's value to transform, then invokes the returned provider.