ForEachclause to iterate over an array of values, executing a Runnable on each element in the array.
forEach, you must have a JSON array of objects in state. A simple array of strings or numbers is not currently supported, but is coming soon. The Runnable is called once for each element in the array, with the element added to the
hello-nameRunable against each element, which changes all of the values. The result is then saved to the
greetingskey in state: