Skip to content

Commit 28c76d2

Browse files
jtreesJosé Valim
authored andcommitted
Allow custom subscription options in typespecs (#250)
1 parent 66a202f commit 28c76d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/gen_stage.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,7 @@ defmodule GenStage do
775775
| {:to, GenServer.server()}
776776
| {:min_demand, integer}
777777
| {:max_demand, integer}
778+
| {atom(), term()}
778779

779780
@typedoc "Options used by the `subscribe*` functions"
780781
@type subscription_options :: [subscription_option()]

0 commit comments

Comments
 (0)