Current section
Files
Jump to
Current section
Files
lib/shopify/rate_limiter/event.ex
if Code.ensure_loaded?(GenStage) do
defmodule Shopify.RateLimiter.Event do
@type t :: %__MODULE__{
attempts: pos_integer,
opts: list,
owner: pid,
producer: pid,
request: Shopify.Request.t()
}
defstruct attempts: 0,
opts: [],
owner: nil,
producer: nil,
request: nil
end
end