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

Link to this section Summary

Functions

Determines whether the consumer supervisor is in an idle state.

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

Link to this section Functions

Specs

Determines whether the consumer supervisor is in an idle state.

A consumer supervisor is considered idle when it is not supervising any active processes.

Link to this function

name(parent, partition_id)

Specs

Returns the name of a Shopify.GraphQL.Limiter.ConsumerSupervisor process.

A consumer supervisor process's name is a combination of the parent limiter's name and a partition id. e.g. Shopify.GraphQL.Limiter.ConsumerSupervisor:<partition_id>.

Link to this function

start_link(opts)

Specs

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

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