dart-neats icon indicating copy to clipboard operation
dart-neats copied to clipboard

orElse callback when retries are exhausted

Open isoos opened this issue 2 years ago • 3 comments

isoos avatar Feb 21 '22 16:02 isoos

@isoos @jonasfj How's this progressing? I found this PR because I needed exactly this feature.

slovnicki avatar Oct 25 '22 21:10 slovnicki

@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.

jonasfj avatar Oct 26 '22 12:10 jonasfj

I think to add stackTrace parameter for the orElse method would better

drown0315 avatar Mar 09 '23 06:03 drown0315