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

Add a decorator to allow the use of Pollies Cache policy #22

Open
SeanFarrow opened this issue Oct 21, 2018 · 1 comment
Open

Add a decorator to allow the use of Pollies Cache policy #22

SeanFarrow opened this issue Oct 21, 2018 · 1 comment

Comments

@SeanFarrow
Copy link
Contributor

Given that Polly now has other available policies (cache for example) would it be desirable to add an equivalent to the brighter UsePolicy attribute and just use that rather than having Retry and an attribute for each policy type?

@SeanFarrow SeanFarrow changed the title Add an equivalent of the brighter's UsePolicyAttribute Add a decoraqtor to allow the use of Pollies Cache policy Dec 17, 2018
@SeanFarrow SeanFarrow changed the title Add a decoraqtor to allow the use of Pollies Cache policy Add a decorator to allow the use of Pollies Cache policy Dec 17, 2018
@SeanFarrow
Copy link
Contributor Author

Having thought about this, a dedicated cache decorator would be better.

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

No branches or pull requests

2 participants