shopify_graphql v1.4.0 Shopify.GraphQL.Limiter

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

Link to this type

partition_id_t()

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)

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

start_link(opts)

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)

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

Starts a partition.