Simple framework for processing a stream of events.