ExWaiter.Polling.Poller (ex_waiter v1.3.1) View Source

Link to this section Summary

Link to this section Types

Specs

status() :: :ok | {:error, :attempt_failed} | {:error, :retries_exhausted} | nil

Specs

t() :: %ExWaiter.Polling.Poller{
  attempt_num: non_neg_integer(),
  config: ExWaiter.Polling.Poller.Config.t(),
  history: [ExWaiter.Polling.Attempt.t()] | nil,
  next_delay: non_neg_integer() | nil,
  status: status(),
  total_delay: non_neg_integer(),
  value: any()
}