View Source Venomous.PetSnakeSupervisor (Venomous v0.7.7)

DynamicSupervisor for named Venomous.SnakeWorker The maximum cap of Venomous.SnakeWorker is defined with :max_children option

Summary

Functions

Returns a specification to start this module under a supervisor.

Deploys a named snake with its own specified encoder and options

Callback implementation for DynamicSupervisor.init/1.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

deploy_snake_pet(opts \\ [])

View Source

Deploys a named snake with its own specified encoder and options

Callback implementation for DynamicSupervisor.init/1.

Link to this function

start_link(opts \\ [strategy: :one_for_one, max_children: 10])

View Source