add_map_task
Registers and returns a non-shared Celery task named 'celery.map' that applies a provided task signature to each item in an iterable.
def add_map_task(
app: Celery
) - > function
Registers a custom 'celery.map' task to the provided Celery application instance, enabling the execution of a task over a sequence of items.
Parameters
| Name | Type | Description |
|---|---|---|
| app | Celery | The Celery application instance where the mapping task will be registered. |
Returns
| Type | Description |
|---|---|
function | The newly registered 'celery.map' task function. |