Class AsyncConsumers


  • public final class AsyncConsumers
    extends Object
    • Constructor Detail

      • AsyncConsumers

        public AsyncConsumers()
    • 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)