Every application, at some point, has to deal with a fundamental challenge: something happens, and several other things need to react to it.