flatMap

fun <I, O> Prepared<I>.flatMap(name: String, block: (I) -> Prepared<O>): Prepared<O>(source)

Creates a new Prepared which is the result of calling block on the input prepared value.

Parameters

name

The name of the resulting prepared value.


Creates a new PreparedProvider which is the result of calling block on the input prepared provider.