Skip to main content

chain_add

Executes an asynchronous Celery task chain that doubles the first input and then adds the second input to the result.

def chain_add(
x: int,
y: int
) - > null

Executes a Celery task chain that doubles the first input and then adds the second input to the result.

Parameters

NameTypeDescription
xintThe initial numeric value to be doubled in the first stage of the task chain
yintThe numeric value to be added to the result of the first stage in the second stage of the task chain

Returns

TypeDescription
nullThis function does not return a value; it triggers an asynchronous task execution.