http4k / org.http4k.chaos / ChaosStages / Repeat
fun Repeat(newStageFn: () ->
Stage
):
Stage
Repeats a stage (or composite stage in repeating pattern). Since ChaosStages are STATEFUL, the stage function will be fired on each iteration and expecting a NEW instance.