Garuda v0.2.5 Garuda.GameManager
The root supervisor for all Garuda components.
Basically we have to add this supervisor module to the application.ex
of
a Phoenix project as a child inside the start function, to get Garuda running/flying.
Options
:max_sup
- Maximum Dynamic supervisors that should be created, default 5.
Usage
Add like below, if we dont want to pass extra options.
Garuda.GameManager
or, we have to add GameManager like,
{Garuda.GameManager, max_sup: 10}
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for Supervisor.init/1
.
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
init(opts)
Callback implementation for Supervisor.init/1
.
Link to this function