Interface AsyncFoldLeft.Loop<R>

  • Type Parameters:
    R - the type of the result
    Enclosing class:
    AsyncFoldLeft

    public static interface AsyncFoldLeft.Loop<R>

    Controls the iteration over a sequence of elements, allowing to continue the iteration (with a result), break out of the iteration (with a result), or fail the iteration (with an exception).

    • Method Detail

      • proceed

        default void proceed​(R r)
      • leave

        default void leave​(R r)
      • fail

        default void fail​(java.lang.Throwable failure)