Shopify.GraphQL.Limiter.ThrottleState (shopify_graphql v1.6.0)

Link to this section Summary

Functions

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

Link to this section Types

Specs

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)

Specs

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

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