Impl cache::dispatchTasks