Stay organized with collections Save and categorize content based on your preferences.
The following code creates a task that will be sent as a POST request to the /worker
handler of the application. The task contains name and action data, and will be processed by the default queue:
You can also add tasks in bulk to a queue using PushQueue. In the following example, two PushTask objects are added to a PushQueue using the addTasks()
method.
When you use PushTask
and PushQueue
, include these statements at the top of your PHP file:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This page provides instructions on using legacy bundled services and APIs, specifically within the first-generation runtimes of the App Engine standard environment."],["A task can be created and sent as a POST request to a designated handler using the `PushTask` class, including the name and action parameters that will be processed by the default queue."],["Multiple tasks can be added in bulk to a queue by creating `PushTask` objects and using the `addTasks()` method within the `PushQueue` class."],["To utilize the `PushTask` and `PushQueue` classes, you must include specific `use` statements at the beginning of your PHP file."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4