Re:Waiting in Asyncio
by nerdwaller on Saturday May 23, 2020 @08:50AM
(#23282499)
Fair enough, the ensure_future() vs create_task() has confused me more than once. It would have been nice if there was a different namespace for the lower level API.
Even so, the docs aren’t even clear on when which of the two is appropriate:
https://docs.python.org/3/library/asyncio-task.html#asyncio.....
https://docs.python.org/3/library/asyncio-future.html#asynci....
[ Parent
| on HN ]
There are no comments on this comment yet.