@FunctionalInterface
interface Consumer<T>


Represents a function that accepts an argument and produces no result. It is used internally to avoid using Java 8 functional interface that leads to desugaring and Proguard shrinking.

Parameters
<T>

: the type of the input of the function

See also
Consumer

Summary

Public functions

Unit
accept(t: T!)

Performs the operation on the given argument

Public functions

accept

Added in 1.0.0
fun accept(t: T!): Unit

Performs the operation on the given argument

Parameters
t: T!

the input argument