Add support for automatic shutdown in Supervisor
Module
Supervisor
13 changes across 9 versions
Changes by version
Deprecate Supervisor.start_child/2 and Supervisor.terminate_child/2 in favor of DynamicSupervisor
Supervisor.Spec.supervise/2 has been deprecated in favor of the new Supervisor child specification
The :simple_one_for_one strategy in Supervisor has been deprecated in favor of DynamicSupervisor
Do not crash spawning supervised tasks when the parent process is dead
Ensure use Supervisor properly adds the @behaviour Supervisor annotation
Do not override user own @opts attribute
Add @spec to second clause of start_link/2
The :simple_one_for_one strategy is deprecated in favor of DynamicSupervisor
Passing a list of args to Supervisor.start_child/2 is deprecated in favor of DynamicSupervisor
Support mixing old and new typespecs in Supervisor.init/2 and Supevisor.start_link/2
Add Supervisor.init/2 and Supervisor.child_spec/2
Allow module and {module, arg} to be given to Supervisor.start_link/2 and invoke module.child_spec(arg) on each argument