Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/elixir/lib/supervisor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,12 @@ defmodule Supervisor do
value, or if it fails, the child specification is discarded and this function
returns `{:error, error}` where `error` is a term containing information about
the error and child specification.

> #### Order Among Children {: .tip}
>
> The child specification is **appended** to the children of `supervisor`.
> This guarantees that semantics of things such as the `:rest_for_one` strategy
> are preserved correctly.
"""
@spec start_child(
supervisor,
Expand Down
Loading