Skip to content

Commit ee272d3

Browse files
asummersJosé Valim
authored andcommitted
Add to opt to subscription_option (#247)
1 parent 556283f commit ee272d3

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
@@ -772,6 +772,7 @@ defmodule GenStage do
772772
@typedoc "Option used by the `subscribe*` functions"
773773
@type subscription_option ::
774774
{:cancel, :permanent | :transient | :temporary}
775+
| {:to, GenServer.server()}
775776
| {:min_demand, integer}
776777
| {:max_demand, integer}
777778

0 commit comments

Comments
 (0)