AB
Size: a a a
AB
SP
AB
SP
a
ŹR
ŹR
Functions delete_child/2 and restart_child/2 are invalid for simple_one_for_one supervisors and return {error,simple_one_for_one} if the specified supervisor uses this restart strategy.
ChildSpec must be a valid child specification (unless the supervisor is a simple_one_for_one supervisor; see below). The child process is started by using the start function as defined in the child specification.
For a simple_one_for_one supervisor, the child specification defined in Module:init/1 is used,
terminate_child(SupRef, Id) -> Result
Tells supervisor SupRef to terminate the specified child.
If the supervisor is not simple_one_for_one, Id must be the child specification identifier.
If the supervisor is simple_one_for_one, Id must be the pid() of the child process.
AK
AK
ŹR
ŹR
MK
ŹR
AK
ŹR
AK
ŹR