Open azzuwan opened 7 years ago
The only safe way to do it would be to provide after-fork callback where such things could happen. Instantiating a loop in a master process before forking children would have disastrous consequences since asyncio behavior in such case is undefined.
I have a database driver that needs to be attached to Japronto event loop. I don't see anyway I can get the event loop instance. Is this use case possible?