@UnstableApi
interface Consumer<T>


Represents an operation that accepts a single input argument and returns no result. Unlike most other functional interfaces, Consumer is expected to operate via side-effects.

Summary

Public functions

Unit
accept(t: T!)

Performs this operation on the given argument.

Public functions

accept

fun accept(t: T!): Unit

Performs this operation on the given argument.