4 ms·
You can code your own wrapper for this. Like https://github.com/Tygs/ayo https://github.com/Tygs/ayo It's not as good as having it in the stdlib, because peop
by sametmax 7y ago
You can code your own wrapper for this.
Like https://github.com/Tygs/ayo https://github.com/Tygs/ayo
It's not as good as having it in the stdlib, because people can still call ensure_future and not await it, but it's a huge improvement and completly compatible with any asyncio code.
- Waterluvian 7y agoYup for sure. My complaint is part ergonomics of boilerplate, part this really burned me bad and no stdlib documentation warns you upfront about it. So many hours of headscratching.