evolving

abstract fun <Initial, Return> evolving(initial: Initial, transform: YieldingScope<Initial, Return>): Return

Iteratively updates the value computing the transform expression from a YieldingContext at each device using the last computed value or the initial.