How to combine two eventloops into one?

Shiyao MA <[email protected]>
Newsgroups gmane.comp.python.twisted
Message-ID <CAJQX3Dwuxs6nrO7ivxZe0_CjaGwmXPTVgubVOLg4dyKQFTZHtA@mail.gmail.com>
Hi,

We are developing a network-facing GUI software.

One team member builds the GUI software, which is based on PyQT and
the eventloop is qt5reactor.

Another team member writes the network functions, which is based on
the https://github.com/bmuller/kademlia repo.  Again, our code is
built upon twisted, but to account for the kademila package, we switch
the underlying event loop to asyncio.

Now the problem comes as to how to integrate the GUI (qt5reactor) with
the network(aysncio) eventloop?

Possible to build a meta eventloop that combines qt5reactor and asyncio?
Otherwise, any better approach?


TIA.

-- 
Best,
Shiyao

_______________________________________________
Twisted-Python mailing list
[email protected]
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.