Retryable

Simple code retrying (in Elixir) without metaprogramming.

Retryable.retryable [on: TimeoutError, sleep: 2, tries: 10], fn ->
  some_flakey_function()
end

See the full documentation at https://hexdocs.pm/retryable_ex.

Features