swiftui-notes
swiftui-notes copied to clipboard
Consider mentioning the Exponential Backoff approach in "retry" pattern
The retry
approach is described in https://heckj.github.io/swiftui-notes/#patterns-retry.
In the exponential backoff approach, the delay
differs each time (but not randomly :) ).
An example of a possible implementation is here: https://peterfriese.dev/posts/swiftui-combine-custom-operators/
I'm not sure if this request is appropriate, or is this case too specific. But in some of the apps I contributed to we used it (with an "imperative" non-reactive code).