This document describes an older version of Celery (2.1). For the latest stable version please go here.
The base class for loaders.
Loaders handles to following things:
Reading celery client/worker configurations.
- What happens when a task starts?
See on_task_init().
- What happens when the worker starts?
See on_worker_init().
What modules are imported to find tasks?
Loader configuration.
Import module, but make sure it finds modules located in the current directory.
Modules located in the current directory has precedence over modules located in sys.path.
This method is called after a task is executed.
This method is called before a task is executed.
This method is called when the worker (celeryd) starts.