Srki Rakic
10/26/2020, 10:39 AMfun <A> policy() =
Schedule.exponential<A>(100.milliseconds)
.whileOutput { it.millis < 1000 }
.or(Schedule.recurs(3))
What am I doing wrong here?stojan
10/26/2020, 10:42 AMSchedule.exponential and Schedule.recurs(n)
and
- Combine two schedules. Continues only when both continue and chooses the maximum delaystojan
10/26/2020, 11:11 AMSrki Rakic
10/26/2020, 12:38 PM