Retry.Annotation (retry v0.19.0)

View Source

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

Summary

Functions

before_compile(env)

(macro)

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