Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPManagerRetryBehavior should support composition #69

Closed
lilyball opened this issue Nov 27, 2019 · 0 comments
Closed

HTTPManagerRetryBehavior should support composition #69

lilyball opened this issue Nov 27, 2019 · 0 comments

Comments

@lilyball
Copy link
Collaborator

We can support retry behavior composition either by exposing the handler property or providing a new function evaluate(for:with:attempt:callback:) (that just calls the handler).

Alternatively we could do more explicit composition that lets you join together two retry behaviors, such that it will invoke the first, and if that says "don't retry" it will then invoke the second.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant