Package io.activej.async.function
Class AsyncConsumers
- java.lang.Object
-
- io.activej.async.function.AsyncConsumers
-
public final class AsyncConsumers extends Object
-
-
Constructor Summary
Constructors Constructor Description AsyncConsumers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> @NotNull AsyncConsumer<T>buffer(int maxParallelCalls, int maxBufferedCalls, @NotNull AsyncConsumer<T> asyncConsumer)static <T> @NotNull AsyncConsumer<T>buffer(@NotNull AsyncConsumer<T> actual)
-
-
-
Method Detail
-
buffer
@Contract(pure=true) @NotNull public static <T> @NotNull AsyncConsumer<T> buffer(@NotNull @NotNull AsyncConsumer<T> actual)
-
buffer
@Contract(pure=true) @NotNull public static <T> @NotNull AsyncConsumer<T> buffer(int maxParallelCalls, int maxBufferedCalls, @NotNull @NotNull AsyncConsumer<T> asyncConsumer)
-
-