aioeventlet implements the asyncio API (PEP 3156) on top of eventlet. It makes possible to write asyncio code in a project currently written for eventlet.
aioeventlet allows to use greenthreads in asyncio coroutines, and to use asyncio coroutines, tasks and futures in greenthreads: see
link_future()
andwrap_greenthread()
functions.The main visible difference between aioeventlet and trollius is the behaviour of
run_forever()
:run_forever()
blocks with trollius, whereas it runs in a greenthread with aioeventlet. It means that aioeventlet event loop can run in an greenthread while the Python main thread runs other greenthreads in parallel.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.5.2-bp156.3.2 info | GA Release | 2023-07-24 | 15 SP6 |
|
|
0.5.2-bp155.2.10 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
0.5.2-bp154.1.27 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.5.2-bp153.1.14 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.5.2-bp152.1.8 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
0.4-bp151.3.1 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
0.4-bp151.2.10 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.4-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|