Reputation: 1265
Celery. An app sends a task to be executed.
r = task.delay()
Is it possible to execute code in the app address space upon task end other than by polling r
?
Upvotes: 0
Views: 283
Reputation: 15926
There is no built-in way in celery. Generally speaking, you will have to come up with your own way for the task to send a notification back to your app if you want to perform the callback processing in the calling application's address space.
Here are some patterns you can use:
Upvotes: 1