3 ms·
If we were to compare this to the JS world, it seems Python’s async is closer to Babel-style generator-based coroutines [1] than to JavaScript’s async/await exe
by gildas 10mo ago
If we were to compare this to the JS world, it seems Python’s async is closer to Babel-style generator-based coroutines [1] than to JavaScript’s async/await execution model.
[1] https://babeljs.io/docs/babel-plugin-transform-async-to-generator https://babeljs.io/docs/babel-plugin-transform-async-to-gene...