Skip to content

Commit 71c5080

Browse files
amatalaiJosé Valim
authored andcommitted
Fix example in GenStage.Dispatcher.dispatch/3 doc (#240)
1 parent dc9e547 commit 71c5080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gen_stage/dispatcher.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ defmodule GenStage.Dispatcher do
9090
option as the consumers are all monitored by the producer. For
9191
example:
9292
93-
Process.send(consumer, {:"$gen_consumer, {self(), consumer_ref}, events}, [:noconnect])
93+
Process.send(consumer, {:"$gen_consumer", {self(), consumer_ref}, events}, [:noconnect])
9494
9595
"""
9696
@callback dispatch(events :: nonempty_list(term), length :: pos_integer, state :: term) ::

0 commit comments

Comments
 (0)