Asyncio -- delayed calculation

Chris Angelico rosuav at gmail.com
Mon Nov 28 22:21:24 EST 2016


On Tue, Nov 29, 2016 at 1:23 PM, Steve D'Aprano
<steve+python at pearwood.info> wrote:
> This is confusing: why is this awaiting something inside an async function?
> Doesn't that mean that the await asyncio.gather(...) call is turned
> blocking?

"await" means "don't continue this function until that's done". It
blocks the function until a non-blocking operation is done.

ChrisA



More information about the Python-list mailing list