I have a main function which I run with asyncio
and then inside it I used event_loop.run_in_executor()
to run mutliple processes of a blocking function.
What I wish to do is inside each of these processes to run a new asyncio loop for each one in order to execute async code.
So I have a main async function where I create multiple processes and I want to create a new asyncio loop in each of them. How can this be done?