swiftui-notes icon indicating copy to clipboard operation
swiftui-notes copied to clipboard

Consider mentioning the Exponential Backoff approach in "retry" pattern

Open gatamar opened this issue 2 years ago • 0 comments

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

gatamar avatar Apr 23 '22 15:04 gatamar