dart-neats
dart-neats copied to clipboard
orElse callback when retries are exhausted
@isoos @jonasfj How's this progressing? I found this PR because I needed exactly this feature.
@slovnicki, feel free to make a new PR, or comment on this one. I don't think we've resolve the semantics.
side note: I don't think we want breaking changes, hence throwing a RetryExhaustedException
is not really a good option.
I think to add stackTrace parameter for the orElse method would better