阅读背景:

Python的Twisted Reactor如何工作?

来源:互联网 

Recently, I've been diving into the Twisted docs. From what I gathered, the basis of Twisted's functionality is the result of it's event loop called the "Reactor". The reactor listens for certain events and dispatches them to registered callback functions that have been designed to handle these events. In the book, there is some pseudo code describing what the Reactor does but I'm having trouble understanding it, it just doesn't make any sense to me. Recently, I've been diving into the Twisted doc




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: