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