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

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.

Do you like Arrow?

Arrow Org