Package io.activej.async.function
Interface AsyncBiConsumer<T,U>
- All Superinterfaces:
AsyncBiConsumerEx<T,U>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,U> AsyncBiConsumer<T, U> of(io.activej.common.function.BiConsumerEx<? super T, ? super U> consumer) Wraps aBiConsumerExinterface.static <T,U> AsyncBiConsumer<T, U> sanitize(AsyncBiConsumerEx<? super T, U> consumer)
-
Method Details
-
accept
- Specified by:
acceptin interfaceAsyncBiConsumerEx<T,U>
-
of
static <T,U> AsyncBiConsumer<T,U> of(io.activej.common.function.BiConsumerEx<? super T, ? super U> consumer) Wraps aBiConsumerExinterface.- Parameters:
consumer- aBiConsumerEx- Returns:
AsyncBiConsumerthat works on top ofBiConsumerExinterface
-
sanitize
-