Package io.reactivex.rxjava3.functions
Interface Consumer<T>
- Type Parameters:
T- the value type
- All Known Implementing Classes:
BlockingIgnoringReceiver,ConnectConsumer,FlowableInternalHelper.RequestMax,FlowableOnBackpressureDrop,Functions.BoundedConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface (callback) that accepts a single value.
-
Method Summary
-
Method Details
-
accept
Consume the given value.- Parameters:
t- the value- Throws:
Throwable- if the implementation wishes to throw any type of exception
-