ExWaiter.Polling (ex_waiter v1.3.1) View Source
Link to this section Summary
Link to this section Types
Specs
options() :: [ delay: ExWaiter.Polling.Poller.Config.delay(), max_attempts: ExWaiter.Polling.Poller.Config.max_attempts(), record_history: boolean() ]
Specs
poll_result() :: {:ok, ExWaiter.Polling.Poller.t()} | {:error, :retries_exhausted, ExWaiter.Polling.Poller.t()} | {:error, :attempt_failed, ExWaiter.Polling.Poller.t()}
Link to this section Functions
Specs
new_poller(ExWaiter.Polling.Poller.Config.polling_fn(), options()) :: ExWaiter.Polling.Poller.t()
Specs
poll_once(ExWaiter.Polling.Poller.t()) :: poll_result()