Skip to content

Commit 4a5da60

Browse files
Typo fix in genstage docs (#298)
1 parent 661f07b commit 4a5da60

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
@@ -180,7 +180,7 @@ defmodule GenStage do
180180
181181
An example with numbers will help clarify this. Say that `:max_demand` is
182182
`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.
183+
events to the producer. Say that the producer produces `100` events at a time.
184184
The first "batch" of `100` events goes to the consumer and the consumer's demand
185185
goes down to `900`. Another batch is produced and the demand goes down to `800`.
186186
At this point, the producer has not been asked for more events yet since the demand

0 commit comments

Comments
 (0)