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

Utils for handling retrying of functions.

Link to this section Summary

Link to this section 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()}