Interface ResultConsumer<R,S>

All Superinterfaces:
ErrorConsumer<R,S>
All Known Subinterfaces:
ResultAndErrorConsumer<R,S>

public interface ResultConsumer<R,S> extends ErrorConsumer<R,S>
  • Method Details

    • consume

      void consume(@NotNull R result, @NotNull S secondary)
    • thenConsume

      @NotNull default @NotNull ResultConsumer<R,S> thenConsume(@NotNull @NotNull ResultConsumer<R,S> second)