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 661f07b commit 4a5da60Copy full SHA for 4a5da60
lib/gen_stage.ex
@@ -180,7 +180,7 @@ defmodule GenStage do
180
181
An example with numbers will help clarify this. Say that `:max_demand` is
182
`1000` and `:min_demand` is `750`. Initially, the consumer asks for `1000`
183
- events to the producer. Say that the producer producers `100` events at a time.
+ events to the producer. Say that the producer produces `100` events at a time.
184
The first "batch" of `100` events goes to the consumer and the consumer's demand
185
goes down to `900`. Another batch is produced and the demand goes down to `800`.
186
At this point, the producer has not been asked for more events yet since the demand
0 commit comments