Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 524 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 524 Bytes

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

  • Simple (modeled after Ruby's retryable gem)
  • No metaprogramming
  • Importing does not clutter your namespace
  • User specified default configuration
  • User specified named configurations
  • Fully documented
  • Complete test suite