mapSegments

fun <T : Any> mapSegments(block: (Result.Segment) -> Flow<T>): Flow<T>

Returns a Flow containing the results of applying the given transform function block to each original Result.Segment generated by executing a statement.