6. Running Threadable Tasks

One of the main goals of the Reaction framework is to provide an easy way to manage long running tasks within an event driven framework. This allows the clean integration of activities which would normally block the flow of execution - such as synchronous RPC calls or long-running processing loops. It also provides an easy and intuitive way of managing concurrent execution. Central to these goals is the implementation of threadable task objects, which will be described in detail in this chapter.