elixir-lang / gen_stage

Producer and consumer actors with back-pressure for Elixir
http://hexdocs.pm/gen_stage
1.52k stars 192 forks source link

Add :to opt to subscription_option typespec #247

Closed asummers closed 5 years ago

asummers commented 5 years ago

Wasn't positive if this was completely correct, but this is eventually passed down to GenServer.whereis/1 so I used its typespec.

Resolves https://github.com/elixir-lang/gen_stage/issues/246

josevalim commented 5 years ago

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart: