repeat
inline fun <E> Task<E>.repeat(times: IntegerDistribution = ConstantIntegerDistribution.NEGATIVE_ONE, task: Task<E>? = null, init: Repeat<E>.() -> Unit = {}): Int
Creates and adds a Repeat to the receiver Task.
Return
the index where the Repeat has been added.
Parameters
E
the type of the receiving task's blackboard.
times
the IntegerDistribution specifying how many times the task must be repeated.
task
the task to add to the Repeat.
init
an optional inline block to configure the Repeat.