-
Notifications
You must be signed in to change notification settings - Fork 3.4k
change DynamicSupervisor doc to avoid confusions #13678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change DynamicSupervisor doc to avoid confusions #13678
Conversation
@josevalim , I removed the suggested change of writing |
Parenthesis are required on both, that should fix it. CI should show the difference too! |
💚 💙 💜 💛 ❤️ |
@typedoc "Options given to `start_link` functions" | ||
@type option :: GenServer.option() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now-removed type was being used at https://github.com/elixir-lang/elixir/blob/main/lib/elixir/lib/task/supervisor.ex#L77C1-L77C37 which now needs to be updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done and thanks:
#13704
Clearly distinguishes between an init option provided as initial argument to DynamicSupervisor, and a regular "GenServer type" option provided as third argument in
start_link/3
fix #13675