No. If you want to invoke a coroutine from a callback you have to wrap it in a task. The preferred way to do that is to call asyncio.async(<coro_call>).
On Sat, Jan 18, 2014 at 3:08 AM, Thibaut DIRLIK <[email protected]> wrote: > Hello, > > The question is in the title. Does asyncio uses "yield from > protocol.SOME_METHOD()", which will let us use yield from in the > data_recieved()/connection_made()/... methods ? > > Thank you, -- --Guido van Rossum (python.org/~guido)
