A PushQueue executes PushTasks by sending the task back to the application in the form of an HTTP request to one of the application's handlers.
The maximum number of tasks in a single call addTasks.
__construct(string $name = 'default')
Construct a PushQueue
The name of the queue.
getName() : string
Return the queue's name.
The queue's name.
addTasks(array<mixed,\google\appengine\api\taskqueue\PushTask> $tasks) : \google\appengine\api\taskqueue\An
Add tasks to the queue.
The tasks to be added to the queue.
if a task of the same name already exists in the queue. If this exception is raised, the caller can be guaranteed that all tasks were successfully added either by this call or a previous call. Another way to express it is that, if any task failed to be added for a different reason, a different exception will be thrown.
if there was a problem using the service.
array containing the name of each task added, with the same ordering as $tasks.