IssueRaiser

Support async function

<!-- Please fill this template entirely and do not erase parts of it. We reserve the right to close without a response feature requests which are incomplete. --> # Checklist <!-- To check an item on the list replace [ ] with [x]. --> * [x] I have checked the [issues list](https://github.com/celery/celery/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22Issue+Type%3A+Feature+Request%22+) for similar or identical feature requests. * [x] I have checked the [pull requests list](https://github.com/celery/celery/pulls?utf8=%E2%9C%93&q=is%3Apr+label%3A%22PR+Type%3A+Feature%22+) for existing proposed implementations of this feature. * [x] I have checked the [commit log](https://github.com/celery/celery/commits/master) to find out if the if the same feature was already implemented in the master branch. * [x] I have included all related issues and possible duplicate issues in this issue (If there are none, check this box anyway). # Brief Summary <!-- Please include a brief summary of what the feature does and why it is needed. --> Support async celery tasks & call async function in celery tasks # Design ``` async def foo(x, y): return x + y @app.task( name='tasks.add', queue='custom', rate_limit='10/s', ) async def add(x, y): await foo(x, y) ```

Posted by SeyyedKomeil on Dec 19, 2020, 10:56 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments

support (SaaS)

Support async function

SeyyedKomeilDec 19, 2020, 10:56 AM

<!-- Please fill this template entirely and do not erase parts of it. We reserve the right to close without a response feature requests which are incomplete. --> # Checklist <!-- To check an item on the list replace [ ] with [x]. --> * [x] I have checked the [issues list](https://github.com/celery/celery/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22Issue+Type%3A+Feature+Request%22+) for similar or identical feature requests. * [x] I have checked the [pull requests list](https://github.com/celery/celery/pulls?utf8=%E2%9C%93&q=is%3Apr+label%3A%22PR+Type%3A+Feature%22+) for existing proposed implementations of this feature. * [x] I have checked the [commit log](https://github.com/celery/celery/commits/master) to find out if the if the same feature was already implemented in the master branch. * [x] I have included all related issues and possible duplicate issues in this issue (If there are none, check this box anyway). # Brief Summary <!-- Please include a brief summary of what the feature does and why it is needed. --> Support async celery tasks & call async function in celery tasks # Design ``` async def foo(x, y): return x + y @app.task( name='tasks.add', queue='custom', rate_limit='10/s', ) async def add(x, y): await foo(x, y) ```

Comments (0)

No comments yet. Start the discussion.

Comment on this issue