How to combine Celery with asyncio?
How can I create a wrapper that makes celery tasks look like asyncio.Task ? Or is there a better way to integrate Celery with asyncio ? @asksol, the creator of Celery, said this: : It's quite common to use Celery as a distributed layer on top of async I/O frameworks (top tip: routing CPU-bound tasks to a prefork worker means they will not block your event loop). But I could not find any code examples specifically for asyncio framework. John Moutafis That will be possible from Celery version 5.0 as stated in the official site: http://docs.celeryproject.org/en/4.0/whatsnew-4.0.html#preface The