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

Extension of withResource which creates a fresh resource if it fails instead of just throwing #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

clintonmead
Copy link

Apologies if this doesn't fit the code/documentation style, feel free to edit.

Just a quick PR with some utility code I've written based on your library. Figure it would be good to get into the library proper, and thought it would be good for you to see it to check I'm not doing something very dumb.

Rational and description I've tried to make clear through the comments, but do shout out if you're unsure of anything.

If you think this doesn't fit in this library, just say, I'm happy to go put this in a separate library that just depends of pool if you think that's more appropriate.

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

Successfully merging this pull request may close these issues.

1 participant