We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09bd916 commit f5665b6Copy full SHA for f5665b6
lib/gen_stage/dispatchers/broadcast_dispatcher.ex
@@ -2,6 +2,9 @@ defmodule GenStage.BroadcastDispatcher do
2
@moduledoc """
3
A dispatcher that accumulates demand from all consumers
4
before broadcasting events to all of them.
5
+
6
+ This dispatcher guarantees that events are dispatched to all
7
+ consumers without exceeding the demand of any given consumer.
8
9
If a producer uses `GenStage.BroadcastDispatcher`, its subscribers
10
can specify an optional `:selector` function that receives the event
0 commit comments