Skip to content

Calling

You can an existing task, Celery provides tree basic way to using its tasks:

Asynchronous way:

  • Using my_task.delay(...)
  • Using my_task.apply_async(args=(...), kwargs={...})

Synchronous way:

  • Using my_task(...)

Calling your task

Read this.

Where is the task?

It where in breathecode/APP_NAME/tasks.py.