@@ -921,18 +921,18 @@ defmodule GenStage do
921
921
922
922
The producer can do one of these:
923
923
924
- * Dispatch exactly as many events as `demand`.
925
-
926
- * Dispatch *more events* than `demand` - in this case, GenStage will
927
- buffer the excess events. These events will be "used" by the
928
- consumer/dispatcher next time demand is sent upstream. It's only
929
- once the events in the buffer don't satisfy the demand anymore that
930
- the `c:handle_demand/2` callback is invoked again. See the "Buffering"
931
- section in the module documentation.
932
-
933
- * Dispatch less events than `demand` - in this case, the producer is
934
- responsible for storing the demand ("buffering demand") and then emitting
935
- events when they are available.
924
+ * Dispatch exactly as many events as `demand`.
925
+
926
+ * Dispatch *more events* than `demand` - in this case, GenStage will
927
+ buffer the excess events. These events will be "used" by the
928
+ consumer/dispatcher next time demand is sent upstream. It's only
929
+ once the events in the buffer don't satisfy the demand anymore that
930
+ the `c:handle_demand/2` callback is invoked again. See the "Buffering"
931
+ section in the module documentation.
932
+
933
+ * Dispatch less events than `demand` - in this case, the producer is
934
+ responsible for storing the demand ("buffering demand") and then emitting
935
+ events when they are available.
936
936
937
937
See the "Demand" section in the module documentation.
938
938
0 commit comments