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() def example(request: tasks.CallableRequest) -> Any: return "Hello World"
|