sdk-common / com.tomtom.online.sdk.common.functional / Consumers

Consumers

class Consumers

A collection of general purpose Consumers implementations.

Functions

executeInOrder

static fun <T : Any!> executeInOrder(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.