I am trying to figure out how to implement my asynchronous jobs with Celery, without tying them to the Celery implementation.
If I have an interface that accepts objects to schedule, such as callables (Or an object that wraps a callable):
ITaskManager(Interface): def schedule(task): #eventually run task
And I might implement it with the treading module:
ThreadingTaskManager(object) def schedule(task): Thread(task).start() # or similar
But it seems this couldn't be done with celery, am I right?