擅长:python、mysql、java
<p>如官方网站所述,芹菜5.0版将有可能做到这一点:</p>
<p><a href="http://docs.celeryproject.org/en/4.0/whatsnew-4.0.html#preface" rel="noreferrer">http://docs.celeryproject.org/en/4.0/whatsnew-4.0.html#preface</a></p>
<blockquote>
<ol>
<li>The next major version of Celery will support Python 3.5 only, were we are planning to take advantage of the new asyncio library.</li>
<li>Dropping support for Python 2 will enable us to remove massive amounts of compatibility code, and going with Python 3.5 allows us to take advantage of typing, async/await, asyncio, and similar concepts there’s no alternative for in older versions.</li>
</ol>
</blockquote>
<p><em>以上内容引用自上一链接。</em></p>
<p>所以最好的办法就是等待5.0版的发布!</p>
<p>同时,快乐的编码:)</p>