Open gatamar opened 2 years ago
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/
retry
delay
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).
The
retry
approach is described in https://heckj.github.io/swiftui-notes/#patterns-retry. In the exponential backoff approach, thedelay
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).