neighboring Via Exchange
inline fun <ID : Any, Scalar> Aggregate<ID>.neighboringViaExchange(local: Scalar): Field<ID, Scalar>
Observes the value of an expression local across neighbours.
Example
val field = neighboring(0)Content copied to clipboard
The field returned has as local value the value passed as input (0 in this example).
val field = neighboring({ 2 * 2 })Content copied to clipboard
In this case, the field returned has the result of the computation as local value.