GenStage

GenStage is a specification for exchanging events between producers and consumers.

This project currently provides the following functionality:

You may also be interested in the Flow project for building computational flows using regular map, reduce and more that run in parallel on top of GenStage. See documentation for Flow or José Valim’s keynote at ElixirConf 2016 introducing the main concepts behind GenStage and Flow.

Examples

Examples for using GenStage and ConsumerSupervisor can be found examples directory:

Installation

GenStage requires Elixir v1.3. Just add :gen_stage to your list of dependencies in mix.exs:

def deps do
  [{:gen_stage, "~> 0.12"}]
end

License

Same as Elixir.