




















Highlights: The new async/await keywords in Python 3.5 are supported.
In most cases, async def can be used in place of the @gen.coroutine decorator. Inside a function defined with async def, use await instead of yield to wait on an asynchronous operation. Coroutines defined with async/await will be faster than those defined with @gen.coroutine and yield.
But do not support some features including Callback/Wait or the ability to yield a Twisted Deferred. See the users ’ guide for more.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。