@NonNull static fun <T : Any!> executeInOrder(@NonNull consumers: MutableList<Consumer1<T>!>): Consumer1<T>
Returns a Consumer1
that will execute each specified consumer in the order they were specified. All the consumers will be executed with the same value.
consumers
- MutableList<Consumer1<T>!>: list of a consumers that should be executed