safwank / ElixirRetry

Simple Elixir macros for linear retry, exponential backoff and wait with composable delays
Other
441 stars 32 forks source link

More flexible result matching #61

Closed nathanalderson closed 1 month ago

nathanalderson commented 1 year ago

This PR adds support for more flexible matching on the return value and raised exception for determining whether to retry. Instead of only supporting a list of atoms for each, you can now provide any of the following:

This should address both #54 and #56.

nathanalderson commented 10 months ago

How are we feeling about this? Anything I can do to push it forward?

nathanalderson commented 7 months ago

Periodic bump. Any feedback? Can we merge?

greenfork commented 1 month ago

Works great, I'm using your branch @nathanalderson , thank you for this patch!

nathanalderson commented 1 month ago

Thanks for merging!