Yury, This looks like good work.Would it make sense to add this to asyncio in 3.8? --Guido On Sun, May 13, 2018 at 1:40 AM, twisteroid ambassador < twisteroid.ambassador@gmail.com> wrote:
Repo: https://github.com/twisteroidambassador/async_stagger Docs: http://async-stagger.readthedocs.io/en/latest/
Provides near drop-in replacements for open_connection() and create_connection() using Happy Eyeballs. Also exposes the underlying scheduling logic where you can plug in your own coroutines to run.
I basically ported trio's implementation to asyncio, and it turned out to be not too difficult.
Cheers,
twistero _______________________________________________ Async-sig mailing list Async-sig@python.org https://mail.python.org/mailman/listinfo/async-sig Code of Conduct: https://www.python.org/psf/codeofconduct/
-- --Guido van Rossum (python.org/~guido)