File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -137,13 +137,14 @@ defmodule DynamicSupervisor do
137
137
"""
138
138
@ callback init ( args :: term ) :: { :ok , sup_flags ( ) } | :ignore
139
139
140
- @ opaque sup_flags ( ) :: % {
141
- strategy: strategy ( ) ,
142
- intensity: non_neg_integer ( ) ,
143
- period: pos_integer ( ) ,
144
- max_children: non_neg_integer ( ) | :infinity ,
145
- extra_arguments: [ term ( ) ]
146
- }
140
+ @ typedoc "The supervisor flags returned on init"
141
+ @ type sup_flags ( ) :: % {
142
+ strategy: strategy ( ) ,
143
+ intensity: non_neg_integer ( ) ,
144
+ period: pos_integer ( ) ,
145
+ max_children: non_neg_integer ( ) | :infinity ,
146
+ extra_arguments: [ term ( ) ]
147
+ }
147
148
148
149
@ typedoc "Option values used by the `start*` functions"
149
150
@ type option :: { :name , Supervisor . name ( ) } | init_option ( )
You can’t perform that action at this time.
0 commit comments