repeat

suspend fun repeat(fa: suspend () -> Input): Output(source)

Runs this effect once and, if it succeeded, decide using the provided policy if the effect should be repeated and if so, with how much delay. Returns the last output from the policy or raises an error if a repeat failed.