aloisdeniel / dio_retry

Retry interceptor for dio.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow dynamic retry interval (backoff)

josh-burton opened this issue · comments

I'd like to be able to control the backoff of the retries. Rather than a duration interval, maybe a intervalEvaluator function could be passed with the number of retries, so a interval can be determined.