ExWaiter.Waiter (ex_waiter v0.3.2) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %ExWaiter.Waiter{
  attempt_num: integer(),
  attempts: [ExWaiter.Attempt.t()],
  attempts_left: integer(),
  checker_fn: (() -> {:ok, any()} | {:error, any()}),
  delay_before: (t() -> integer()) | integer(),
  exception_on_retries_exhausted?: term(),
  fulfilled?: boolean(),
  num_attempts: integer(),
  total_delay: integer(),
  value: any()
}