Flask - Background Tasks
Given this Flask and Celery setup, what will be the output when calling
add.delay(4, 5)?
from celery import Celery
celery = Celery(__name__, broker='redis://localhost:6379/0')
@celery.task
def add(x, y):
return x + y
result = add.delay(4, 5)
print(type(result))