Example #1
0
 def on_poll_start(self):
     """Called by hub before each ``poll()``"""
     cycle = self.cycle
     cycle.on_poll_start()
     return dict((fd, self.handle_event) for fd in cycle.fds)
Example #2
0
 def on_poll_start(self):
     cycle = self.cycle
     cycle.on_poll_start()
     return dict((fd, self.handle_event) for fd in cycle.fds)
Example #3
0
 def on_poll_start(self):
     cycle = self.cycle
     cycle.on_poll_start()
     return dict((fd, self.handle_event) for fd in cycle.fds)