python-aioeventlet-doc

Asyncio event loop scheduling callbacks in eventlet - doc
  http://aioeventlet.readthedocs.org/
  0
  no reviews



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 one to use greenthreads in asyncio coroutines, and to use asyncio coroutines, tasks and futures in greenthreads: see link_future() and wrap_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.

this package contains the documentation.