I'd like to be able to wrap my code that enqueues tasks in an AppEngine push queue with a transaction so that if any code fails in that transaction the tasks are not committed into the queue. I'm using PHP and am finding no such feature in the documentation.
I'm using Propel2 as my ORM, so ideally I would like to associate them to the Propel2 transactions.
Contrary to that, Python and Java seems to have this support: https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-tasks#enqueuing_tasks_in_cloud_datastore_transactions
Has anyone done this before or can propose ideas?
Thanks.