Package io.activej.async.function
Class AsyncBiConsumers
java.lang.Object
io.activej.async.function.AsyncBiConsumers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T,U> AsyncBiConsumer<T, U> buffer(int maxParallelCalls, int maxBufferedCalls, AsyncBiConsumer<T, U> consumer) static <T,U> AsyncBiConsumer<T, U> buffer(AsyncBiConsumer<T, U> actual) static <T,U> AsyncBiConsumer<T, U> ofExecutor(AsyncExecutor executor, AsyncBiConsumer<T, U> consumer)
-
Constructor Details
-
AsyncBiConsumers
public AsyncBiConsumers()
-
-
Method Details
-
buffer
-
buffer
@Contract(pure=true) public static <T,U> AsyncBiConsumer<T,U> buffer(int maxParallelCalls, int maxBufferedCalls, AsyncBiConsumer<T, U> consumer) -
ofExecutor
@Contract(pure=true) public static <T,U> AsyncBiConsumer<T,U> ofExecutor(AsyncExecutor executor, AsyncBiConsumer<T, U> consumer)
-