tasks namespace

Functions

FunctionDescription
taskQueue(options)Declares a function that can handle tasks enqueued using the Firebase Admin SDK.

Classes

ClassDescription
TaskQueueBuilderBuilder for creating aTaskQueueFunction.

Interfaces

InterfaceDescription
RateLimitsHow congestion control should be applied to the function.
RetryConfigHow a task should be retried in the event of a non-2xx return.
TaskContextMetadata about a call to a Task Queue function.
TaskQueueFunctionA handler for tasks.
TaskQueueOptionsOptions 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

ParameterTypeDescription
optionsTaskQueueOptionsConfiguration for the Task Queue that feeds into this function. Omitting options will configure a Task Queue with default settings.

Returns:

TaskQueueBuilder

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.