No description, website, or topics provided.
Elixir
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
lib
test
.gitignore
README.md
mix.exs
mix.lock

README.md

GenstageExample3

This GenStage example is meant to illustrate the splitting of an output flow of events - a list of integers - to more than one stage. This is accomplished by using the PartitionDispatcher dispatcher and a "hash" function that shunts even integers to one partition and odd integers to another partition. For a more detailed explanation, please see this blog post

To run:

  1. cd genstage_example_3
  2. mix deps.get
  3. mix run lib/genstage_example_3.exs