tasks namespace Stay organized with collections Save and categorize content based on your preferences.
Functions
| Function | Description |
|---|---|
| taskQueue(options) | Declares a function that can handle tasks enqueued using the Firebase Admin SDK. |
Classes
| Class | Description |
|---|---|
| TaskQueueBuilder | Builder for creating aTaskQueueFunction. |
Interfaces
| Interface | Description |
|---|---|
| RateLimits | How congestion control should be applied to the function. |
| RetryConfig | How a task should be retried in the event of a non-2xx return. |
| TaskContext | Metadata about a call to a Task Queue function. |
| TaskQueueFunction | A handler for tasks. |
| TaskQueueOptions | Options for configuring the task queue to listen to. |
tasks.taskQueue()
Declares a function that can handle tasks enqueued using the Firebase Admin SDK.
Signature:
exportdeclarefunctiontaskQueue(options?:TaskQueueOptions):TaskQueueBuilder;Parameters
| Parameter | Type | Description |
|---|---|---|
| options | TaskQueueOptions | Configuration for the Task Queue that feeds into this function. Omitting options will configure a Task Queue with default settings. |
Returns:
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-04-24 UTC.