shopify_graphql v1.3.0 Shopify.GraphQL.Limiter.ConsumerSupervisor

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

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)

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)

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

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