add_replaced
Add two numbers (via the add task).
def add_replaced(
self: Task,
x: number,
y: number
) - > null
Add two numbers (via the add task).
Parameters
| Name | Type | Description |
|---|---|---|
| self | Task | The Celery task instance bound to this function, used to trigger the task replacement mechanism. |
| x | number | The first numeric operand to be added. |
| y | number | The second numeric operand to be added. |
Returns
| Type | Description |
|---|---|
null | This function does not return a value directly as it raises a task replacement exception. |