Class library designed to easily coordinate synchronous and asynchronous activities in complex ways