Shopify.GraphQL.Limiter (shopify_graphql v1.5.1)
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.
Starts a partition.
Link to this section Types
Link to this type
partition_id_t()
Specs
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
send(atom(), Shopify.GraphQL.Operation.t(), Shopify.GraphQL.Config.t()) :: Shopify.GraphQL.response_t()
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.