elixir-lang / gen_stage

Producer and consumer actors with back-pressure for Elixir
http://hexdocs.pm/gen_stage
1.48k stars 192 forks source link

Update docs #269

Closed LostKobrakai closed 3 years ago

LostKobrakai commented 3 years ago

Make it a little more clear that demand is sent after handle_events/3 is done and not when starting it.

Also removed the part about "the stage that produced the events assumes". This is not really the case. The producer does not assume anything. It just waits for new demand. It doesn't track which events were processed. At least that's my understanding of it.

josevalim commented 3 years ago

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart: