Skip to content

gheidorn/genstage_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GenstageExample

This example has a Producer and a Consumer. The Producer has a pull/0 function that makes a call to the mtg_sdk_ex library to get some card data. The Consumer asks for between 0 and 3 events (max_demand = 3) and dumps the card name into an IO.puts statement.

TODO

  • Tests for the Producer and the Consumer
  • Inject a ProducerConsumer
  • Do something interesting with the Card data

To Run

iex -S mix

About

Example project for Elixir Genstage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages