A step followed by one more for each item, in order, each made from the state the previous one left: the
andThen of many. E.g. a parent that tells each of its children by id the same thing,
forEach({ state }, ids, (id) => children.Row.update(id, Cleared())). The state is the last one's, and the
commands and the events are every step's, in order; its lists are always present. It is dual:
forEach(items, next) takes the step last, for a chain of steps written with pipe.
A step followed by one more for each item, in order, each made from the state the previous one left: the
andThenof many. E.g. a parent that tells each of its children by id the same thing,forEach({ state }, ids, (id) => children.Row.update(id, Cleared())). The state is the last one's, and the commands and the events are every step's, in order; its lists are always present. It is dual:forEach(items, next)takes the step last, for a chain of steps written withpipe.