alla flaggor
stretch  ]
[ Källkod: python-aioeventlet  ]

Paket: python-aioeventlet (0.5.1-1)

Länkar för python-aioeventlet

Screenshot

Debianresurser:

Hämta källkodspaketet python-aioeventlet:

Ansvariga:

Externa resurser:

Liknande paket:

asyncio event loop scheduling callbacks in eventlet - Python 2.x

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 Python 2.x module.

Märken: Implemented in: Python

Andra paket besläktade med python-aioeventlet

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta python-aioeventlet

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 7,7 kbyte32,0 kbyte [filförteckning]