Add support for an advanced task scheduler managed by the application.

Good point, I just made this explicitly 0.