repeatEvery

suspend fun repeatEvery(times: Int, delay: Ticks, block: suspend TaskSequenceBuilder.(Int) -> Unit)

Repeats the block times with a delay between each iteration.

Parameters

times

The number of times to repeat.

delay

The delay between each iteration.

block

The block to execute.