In my previous post, I introduced the Producer actor. Now it's time to introduce the Harvester.
In this post I will define the specifications of the Harvester and show how to test the concurrency of the eventual implementation.
In order to do this, I will also dive into some of the cooler features of Scala, especially foreach
, map
, list-comprehensions and futures.