sequenceState

Builds a Signal that updates with a list of all input states whenever any of the input states updates.

Example usage:

val stateA = bindingState("1")

val stateB = bindingState("2")

val combined = listOf(stateA, stateB).sequenceState()

assert(combined.value == listOf("1", "2")

stateA.value = "A"

assert(combined.value == listOf("A", "2")