2. The Reactor Core

Central to the Reaction framework is the reactor core. This component is responsible for scheduling events, thread management and acting as a factory for other framework objects. This chapter introduces the reactor core and its ancillary components and describes the steps required in order to start up the reactor ready for use by the application. However, before activating the reactor itself, we need to put in place a monotonic clock and some logging support.