Skip to content

Commit 974b82d

Browse files
Raphael MegzariJosé Valim
authored andcommitted
Fix typo in module doc (#236)
Typo is regarding the explanation :min_demand and :max_demand attributes
1 parent 8770ee7 commit 974b82d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/gen_stage.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ defmodule GenStage do
173173
specifies the minimum threshold to trigger for more demand. For
174174
example, if `:max_demand` is 1000 and `:min_demand` is 750,
175175
the consumer will ask for 1000 events initially and ask for more
176-
only after it receives at least 250.
176+
only after it processes at least 250.
177177
178178
In the example above, B is a `:producer_consumer` and therefore
179179
acts as a buffer. Getting the proper demand values in B is

0 commit comments

Comments
 (0)