I am trying to figure out how to implement my asynchronous jobs with Celery without binding them to the Celery implementation.
If I have an interface that accepts objects for a schedule, for example, called calls (or an object that wraps the called):
ITaskManager(Interface): def schedule(task):
And I could implement it with a tread module:
ThreadingTaskManager(object) def schedule(task): Thread(task).start()
But it seems that this cannot be done with celery, right?
source share