Islands Engine v0.2.0 Islands.Engine.Game.DynSup View Source
A supervisor that starts game server processes dynamically.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Callback invoked to start the supervisor and during hot code upgrades
Link to this section Functions
Link to this function
child_spec(arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
init(atom)
View Source
init(atom)
View Source
init(term()) :: {:ok, DynamicSupervisor.sup_flags()} | :ignore
init(term()) :: {:ok, DynamicSupervisor.sup_flags()} | :ignore
Callback invoked to start the supervisor and during hot code upgrades.
Developers typically invoke DynamicSupervisor.init/1
at the end of
their init callback to return the proper supervision flags.
Callback implementation for DynamicSupervisor.init/1
.
Link to this function
start_link(atom)
View Source
start_link(atom)
View Source
start_link(term()) :: Supervisor.on_start()
start_link(term()) :: Supervisor.on_start()