Skip to content

Consider mentioning the Exponential Backoff approach in "retry" pattern #256

@gatamar

Description

@gatamar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions