I would like to use Task Queue with my App in GAE. As I know (according to Task Queue documentation and API), we can add tasks to push queue, and then they are being consumed automatically by the app. Also in pull queue, we can add tasks, and tasks are being consumed automatically according to scaling properties we handle.
I would like to know whether there is ability to consume tasks from task queue (push or pull queues), when we want by calling a consume-like method?
Thanks
I think you misunderstood how push and pull task queues works. In both queues you add tasks to the queue, but while in push queue the system will dequeue the task and assign it to the apropriate handler in pull queue you need to dequeue the task(s) using lease_tasks and handle the task.