Foundation.Retry.State (foundation v0.2.1)

Copy Markdown View Source

Retry state tracking.

Summary

Types

t()

@type t() :: %Foundation.Retry.State{
  attempt: non_neg_integer(),
  last_progress_ms: integer() | nil,
  start_time_ms: integer()
}

Functions

new(opts \\ [])

@spec new(keyword()) :: t()