This is an example of how to interact with a shopping cart by emitting actions or events.
A processor
object dispatches incoming events to susbcribers, who are in charge of mutating data (an order
in this case).
Run a simple user session that interacts with the cart with
ruby user_session.rb