Package org.cometd.common
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 Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
fail(java.lang.Throwable failure)
default void
leave(R r)
default void
proceed(R r)
-