shopify_graphql v1.2.0 Shopify.GraphQL.Limiter.ThrottleState

Link to this section Summary

Functions

Returns a Shopify.GraphQL.Limiter.ThrottleStatus struct from a Shopify.GraphQL.Response struct.

Link to this section Types

Link to this type

t()

t() :: %Shopify.GraphQL.Limiter.ThrottleState{
  currently_available: integer(),
  maximum_available: integer(),
  restore_rate: integer()
}

Link to this section Functions

Link to this function

from_response(response)

from_response(Shopify.GraphQL.Response.t()) :: t()

Returns a Shopify.GraphQL.Limiter.ThrottleStatus struct from a Shopify.GraphQL.Response struct.