View Source Retry.Annotation (retry v0.17.0)

A @retry annotation that will retry the function according to the retry settings.

Examples

use Retry.Annotation

@retry with: constant_backoff(100) |> Stream.take(10)
def some_func(arg) do
  # ...
end

Link to this section Summary

Link to this section Functions

Link to this macro

before_compile(env)

View Source (macro)
Link to this function

on_definition(env, kind, name, args, guards, body)

View Source