How to build event-based models

Building reactive systems is not only important for the software engineering. Also in Machine Learning building dynamic models that react to the events is just as important.