DynamicSupervisor.stop
You're seeing just the function
stop
, go back to DynamicSupervisor module for more information.
Link to this function
stop(supervisor, reason \\ :normal, timeout \\ :infinity)
View Source (since 1.7.0)Specs
stop(Supervisor.supervisor(), reason :: term(), timeout()) :: :ok
Synchronously stops the given supervisor with the given reason
.
It returns :ok
if the supervisor terminates with the given
reason. If it terminates with another reason, the call exits.
This function keeps OTP semantics regarding error reporting.
If the reason is any other than :normal
, :shutdown
or
{:shutdown, _}
, an error report is logged.