Hello I would like to know. How Can I wait asyncio.Future from another thread and another loop? For example. I have a code that wait result from coroutine
if isinstance(target, Future): await target result = target but the problem is that this code is running from another thread. And I get a exception
got Future attached to a different loop
Question: How Can I wait asyncio.Future from another thread?
P.S. I understand that I must use one Loop but architecture of my solution required to start a separate thread and wait for completion asyncio.Future