Consumer

fun interface Consumer<T>

Compat version of java.util.function.Consumer

Type Parameters

T

the type of the input to the operation

Functions

Link copied to clipboard
abstract fun accept(value: T)

Performs this operation on the given argument.