repeating

fun <X, Y> repeating(initial: X, repeat: (X) -> Y): Y

Iteratively updates the value of the input expression repeat at each device using the last computed value or the initial.