-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Fantix King edited this page Nov 27, 2013
·
8 revisions
Hi I'm trying to write a wrapper of the asyncio library with a Gevnet-compatible API, by starting from latest gevent branch, replacing the event loop with the one from asyncio. The original event loop based on libev & cython is abandoned, so is the c-ares resolver; one could offer an asyncio-compatible event loop or resolver based on libev and c-ares independently.
Running the current test suite drives my development. For contributors please see also how to replace event loop, and where to pick up a task.
Taking an asyncio coroutine object (generator object) or an asyncio.Future
object, this method blocks the current greenlet until the given object has a result and then returns the result.