What exactly are SelectorEventLoop
and ProactorEventLoop
? How are they different?
I was testing the use of asyncio and aiohttp in python on Windows, then got an error RuntimeError: Event loop is closed
.
Looked up and found a workaround, but I did not understand the root of the error.
Many people seem to touch on the concept of SelectorEventLoop
and ProactorEventLoop
here and also here.
I read documentation but couldn't grasp the concept. Could anyone explain these concept in easier terms?