Supervisor.delete_child
You're seeing just the function
delete_child
, go back to Supervisor module for more information.
Specs
delete_child(supervisor(), term()) :: :ok | {:error, error} when error: :not_found | :running | :restarting
Deletes the child specification identified by child_id
.
The corresponding child process must not be running; use terminate_child/2
to terminate it if it's running.
If successful, this function returns :ok
. This function may return an error
with an appropriate error tuple if the child_id
is not found, or if the
current process is running or being restarted.