Apply the task locally.
This will block until the task completes, and returns a celery.result.EagerResult instance.
Run a task asynchronously by the celery daemon(s).
| Parameters: |
|
|---|
Delay a task for execution by the celery daemon.
| Parameters: |
|
|---|---|
| Raises celery.registry.NotRegistered: | |
exception if no such task has been registered in the task registry. |
|
| Return type: | |
Example
>>> r = delay_task("update_record", name="George Constanza", age=32)
>>> r.ready()
True
>>> r.result
"Record was updated"