[Python-Dev] Using async/await in place of yield expression (original) (raw)
Caleb Hattingh caleb.hattingh at gmail.com
Mon Nov 27 06:08:51 EST 2017
- Previous message (by thread): [Python-Dev] Using async/await in place of yield expression
- Next message (by thread): [Python-Dev] Using async/await in place of yield expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 27 November 2017 at 18:41, Nathaniel Smith <njs at pobox.com> wrote:
In asyncio, the convention is that the values you send back must be Future objects,
Thanks this is useful. I didn't pick this up from the various PEPs or documentation. I guess I need to go through the src :) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20171127/fca2fd18/attachment.html>
- Previous message (by thread): [Python-Dev] Using async/await in place of yield expression
- Next message (by thread): [Python-Dev] Using async/await in place of yield expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]