I am looking at an implementation of a new event loop to connect to asynciobased on existing runtime implementations such as Cocoa s NSRunLoopand Qts QEventLoop. but it’s hard to find a place to start.
The documentation says that the system is designed to connect, but nowhere does it say exactly how this can be done. Should I start with AbstractEventLoopor BaseEventLoop? Which method does what and what components do I need to provide? The only alternative implementation that I find useful is uvloop , but it is hard to understand because it relies heavily on Cython and libuv, which I am not familiar with.
Is there any record of how the implementation of the event loop is performed, and how can I create a custom one? Or a less complicated implementation, can I wrap my head faster? Thanks for any pointers.
source
share