Repeat Until Builder
data class RepeatUntilBuilder<RESULT : Any>(resultClass: Class<RESULT>, inputClasses: List<Class<out Any>> = emptyList(), maxIterations: Int = DEFAULT_MAX_ITERATIONS) : WorkFlowBuilderWithInput
Java friendly builder for RepeatUntil workflow.
Constructors
Types
Link copied to clipboard
Link copied to clipboard
inner class Emitter(generator: (TransformationActionContext<ResultHistory<RESULT>, RESULT>) -> RESULT, accept: (InputActionContext<ResultHistory<RESULT>>) -> Boolean) : WorkflowBuilder<RESULT>
Link copied to clipboard
inner class Looper(generator: (TransformationActionContext<ResultHistory<RESULT>, RESULT>) -> RESULT)
Functions
Link copied to clipboard
fun repeating(what: (TransformationActionContext<ResultHistory<RESULT>, RESULT>) -> RESULT): RepeatUntilBuilder.Looper<RESULT>
Define the task to be repeated until an acceptable result is achieved.
Link copied to clipboard