@FunctionalInterface interface Consumer0
Represents base interface for all functions and function-like objects that don't consume a value and don't return a result. Most of the time this interface is used to pass behaviour to some other code, in many cases enclosing in itself the surrounding state and deferring the computation (creating a clojure).
abstract fun accept(): Unit
Consumes no arguments just runs the code. |