map

fun <I, O> Prepared<I>.map(name: String, block: (I) -> 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.


fun <I, O> PreparedProvider<I>.map(block: (I) -> O): PreparedProvider<O>(source)

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