firebase_functions.tasks_fn module Stay organized with collections Save and categorize content based on your preferences.
Functions to handle Tasks enqueued with Google Cloud Tasks.
Functions
on_task_dispatchedfirebase_functions.tasks_fn.on_task_dispatched(**kwargs)→Callable[[Callable[[CallableRequest[Any]],Any]],Response] |
---|
Creates a handler for tasks sent to a Google Cloud Tasks queue.Requires a function that takes a CallableRequest. Example: @tasks.on_task_dispatched()defexample(request:tasks.CallableRequest)->Any:return"Hello World"
|
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-11-06 UTC.