dart-neats
dart-neats copied to clipboard
get current attempt times
Would that be possible that I can get current attempt times in the onRetry callback function?
@zysc8313 you can checkout this: https://github.com/ibhanu/dart-neats/tree/master/retry
I'm sending attempt count both in retryIf and retryOn to work with inside your code.
I don't know is it PR worthy.
@ibhanu Thank you! that's definitely a good PR
@zysc8313 done https://github.com/google/dart-neats/pull/164
This is breaking, I'd suggest making a different better retry package :)