Shopify.GraphQL.Limiter (shopify_graphql v1.6.0)

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts a Shopify.GraphQL.Limiter supervision tree and links it to the current process.

Link to this section Types

Specs

name_t() :: atom() | {:via, module(), {module(), String.t()}}
Link to this type

partition_id_t()

Specs

partition_id_t() :: atom() | String.t()

Link to this section Functions

Link to this function

child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

get_partition_id(config)

Specs

get_partition_id(Shopify.GraphQL.Config.t()) :: String.t()
Link to this function

send(server, operation, config)

Specs

Link to this function

start_link(opts)

Specs

start_link(Keyword.t()) :: Supervisor.on_start()

Starts a Shopify.GraphQL.Limiter supervision tree and links it to the current process.

Link to this function

start_partition(server, partition_id, opts)

Specs

start_partition(atom(), partition_id_t(), Keyword.t()) ::
  {:ok, pid()} | {:error, term()}

Starts a partition.