View Source WhiteRabbit.Fluffle (White Rabbit v0.2.0)
Supervisor of multiple DynamicSupervisors that will handle starting Consumers and Producers.
Uses a Registry to handle tracking of all the dynamically spawned child processes under this Supervisor.
Pass a startup_consumers: []
option to start_link
to allow for start-up Consumers instead of being supervised by
one of the DynamicSupervisors.
FUN FACT: Did you a group of rabbits is called a fluffle? Neither did I.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Uses DynamicSupervisor.which_children()
to output list of childrend on the WhiteRabbit.Fluffle
Supervisor.
Link to this section Types
@type fluffle_option() :: {:startup_consumers, {term(), WhiteRabbit.Consumer.t()}}
@type fluffle_options() :: [fluffle_option()]
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Uses DynamicSupervisor.which_children()
to output list of childrend on the WhiteRabbit.Fluffle
Supervisor.