In DSR and other games, TaskMan is a global object that handles “tasks”. Every frame, it runs the tasks that have been queued, until they voluntarily mark themselves to end.
Each task is a class that has a series of “Steps”, which are like nodes in a state machine. Each step performs a set of actions, and is responsible for selecting which of it's own steps runs next. It can also queue other tasks.
List of tasks used in DSR: