Class RepeatUntilBuilder.Looper
-
- All Implemented Interfaces:
public final class RepeatUntilBuilder.Looper
-
-
Constructor Summary
Constructors Constructor Description RepeatUntilBuilder.Looper(Function1<RepeatUntilActionContext<INPUT, RESULT>, RESULT> generator)
-
Method Summary
Modifier and Type Method Description final RepeatUntilBuilder.Emitter<INPUT, RESULT>until(Function1<RepeatUntilActionContext<INPUT, RESULT>, Boolean> accept)Define the acceptance criteria for the feedback. -
-
Constructor Detail
-
RepeatUntilBuilder.Looper
RepeatUntilBuilder.Looper(Function1<RepeatUntilActionContext<INPUT, RESULT>, RESULT> generator)
-
-
Method Detail
-
until
final RepeatUntilBuilder.Emitter<INPUT, RESULT> until(Function1<RepeatUntilActionContext<INPUT, RESULT>, Boolean> accept)
Define the acceptance criteria for the feedback. This will determine when the generated result is considered acceptable.
-
-
-
-