So, after I do r.set_loop_type('asyncio') the returning value from r.connect changes to asyncio Future. But what if I want to use normal version of r.connect in some threads that are lacking an asyncio loop? Right now it leads to some consequences - 'generator' objects in unexpected places.
So, after I do
r.set_loop_type('asyncio')
the returning value fromr.connect
changes to asyncio Future. But what if I want to use normal version of r.connect in some threads that are lacking an asyncio loop? Right now it leads to some consequences - 'generator' objects in unexpected places.