View Source BridgeEx.Graphql.Retry (bridge_ex v2.4.0)

Utils for handling retrying of functions.

Summary

Functions

Link to this function

retry(arg, fun, retry_options)

View Source
@spec retry(
  String.t(),
  (any() -> {:error, String.t()} | {:ok, any()}),
  Keyword.t()
) :: {:ok, any()} | {:error, any()}