borchero / Squid

Declarative and Reactive Networking for Swift.
https://squid.borchero.com
MIT License
71 stars 6 forks source link

Does it make sense to combine retriers? How would I go about it? #25

Open jessegrosjean opened 3 years ago

jessegrosjean commented 3 years ago

For example I have an authenticated api, so I want to use an authentication retrier, but it also might have network errors, so I want exponential backoff. Is there a suggested way to combine the two?