Suite • opensavvy.prepared.suite • flatMap
flatMap¶
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>.flatMap(block: (I) -> Prepared<O>): PreparedProvider<O>
Creates a new PreparedProvider which is the result of calling block on the input prepared provider.